-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
docker-compose.yml
98 lines (91 loc) · 1.98 KB
/
docker-compose.yml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: '2.3'
networks:
tanner_local:
services:
# Tanner Redis Service
tanner_redis:
build: ./redis
container_name: tanner_redis
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
image: "mushorg/redis:latest"
read_only: true
# PHP Sandbox service
tanner_phpox:
build: ./phpox
container_name: tanner_phpox
restart: always
stop_signal: SIGKILL
tty: true
networks:
- tanner_local
image: "mushorg/phpox:latest"
read_only: true
tmpfs: "/tmp"
# Tanner API Service
tanner_api:
build: ./tanner
environment:
- PATH=/opt/tanner/tanner-env/bin/:$PATH
container_name: tanner_api
restart: always
stop_signal: SIGKILL
tmpfs:
- /tmp/tanner:uid=65534,gid=65534
- /var/log/tanner:uid=65534,gid=65534
tty: true
networks:
- tanner_local
image: "mushorg/tanner:latest"
read_only: true
command: tannerapi
depends_on:
- tanner_redis
# Tanner WEB Service
tanner_web:
build: ./tanner
environment:
- PATH=/opt/tanner/tanner-env/bin/:$PATH
container_name: tanner_web
restart: always
stop_signal: SIGKILL
tmpfs:
- /tmp/tanner:uid=65534,gid=65534
- /var/log/tanner:uid=65534,gid=65534
tty: true
networks:
- tanner_local
ports:
- "8091:8091"
image: "mushorg/tanner:latest"
command: tannerweb
read_only: true
depends_on:
- tanner_redis
# Tanner Service
tanner:
build: ./tanner
environment:
- PATH=/opt/tanner/tanner-env/bin/:$PATH
container_name: tanner
restart: always
stop_signal: SIGKILL
tmpfs:
- /tmp/tanner:uid=65534,gid=65534
- /var/log/tanner:uid=65534,gid=65534
- /opt/tanner/files:uid=65534,gid=65534
tty: true
networks:
- tanner_local
ports:
- "8090:8090"
image: "mushorg/tanner:latest"
command: tanner
read_only: true
depends_on:
- tanner_api
- tanner_web
- tanner_phpox