forked from tla/stemmaweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
84 lines (76 loc) · 1.98 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
84 lines (76 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3.9'
services:
shell:
build: bin
env_file:
- .env.dev
volumes:
- .:/usr/src
stemmarest:
image: dhuniwien/stemmarest:latest
ports:
- "8080:8080"
stemmarest-initializer:
build: bin
env_file:
- .env.dev
depends_on:
- stemmarest
volumes:
- ./bin/init-data/stemmarest/:/init-data
entrypoint: >
/bin/bash -c "./wait-for-it.sh --host=${STEMMAREST_HOST} --port=${STEMMAREST_PORT} -- /init-data/init_test_data.sh"
stemweb_mysql:
container_name: stemweb_mysql
image: mariadb:10.4
restart: always
env_file:
- stemweb/.env.dev
ports:
- "4306:3306"
stemweb_redis:
container_name: stemweb_redis
image: redis:alpine
restart: always
sysctls:
# change this Linux Kernel Parameter (default is 128) within container because of this WARNING
# "The TCP backlog setting of 511 cannot be enforced
# because /proc/sys/net/core/somaxconn is set to the lower value of 128."
net.core.somaxconn: 512 # maximal number of connections
ports:
- "7379:6379"
volumes:
- ./stemweb/redis/redis.conf:/usr/local/etc/redis/redis.conf # version 6 from https://redis.io/topics/config
command:
redis-server /usr/local/etc/redis/redis.conf
stemweb:
container_name: stemweb
image: dhuniwien/stemweb_py37:latest
restart: always
env_file:
- stemweb/.env.dev
depends_on:
- stemweb_mysql
- stemweb_redis
ports:
- "8000:8000"
- "51000:51000"
stemmaweb:
container_name: stemmaweb
build:
context: .
dockerfile: Dockerfile-dev
volumes:
- .:/usr/src
env_file:
- .env.dev
entrypoint: >
/bin/bash -c "make install-middleware &&
make install-frontend &&
tail -F just-forcing-the-container-to-keep-running"
reverse-proxy:
build: ./reverse-proxy
depends_on:
- stemmaweb
ports:
- "8888:80"