-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
116 lines (116 loc) · 2.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
116 lines (116 loc) · 2.13 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: '3'
services:
# web server
nginx:
env_file:
- env.sh
build: services/nginx/
ports:
- "80:80"
- "443:443"
volumes:
- ${PCW_BASE_DIR}/www-data:/www-data:ro
- ${PCW_BASE_DIR}/project-data:/project-data:ro
links:
- pcwauth
depends_on:
- pocoweb
- pcwauth
restart: always
# pocoweb rest service
pocoweb:
build: .
links:
- db
volumes:
- ${PCW_BASE_DIR}/project-data:/project-data:rw
- ${PCW_BASE_DIR}/tmp-data:/tmp:rw
- ${PCW_BASE_DIR}/www-data:/www-data:rw
depends_on:
- db
restart: always
env_file:
- env.sh
# mysql database
db:
image: mariadb
volumes:
- ${PCW_BASE_DIR}/db-data:/var/lib/mysql:rw
- ./db:/etc/mysql/conf.d:ro
restart: always
env_file:
- env.sh
# pocoweb authentification
pcwauth:
# build: pcwauth/
build: services/pcwauth
links:
- db
- pocoweb
- pcwprofiler
- pcwusers
- pcwpostcorrection
- pcwpkg
- pcwpool
depends_on:
- db
restart: always
env_file:
- env.sh
# pocoweb profiling
pcwprofiler:
build: services/pcwprofiler
restart: always
links:
- db
depends_on:
- db
env_file:
- env.sh
volumes:
- ${PCW_BASE_DIR}/project-data:/project-data:rw
# pocoweb user management
pcwusers:
build: services/pcwusers
restart: always
links:
- db
depends_on:
- db
env_file:
- env.sh
# pocoweb post-correction
pcwpostcorrection:
build: services/pcwpostcorrection
restart: always
links:
- db
- pocoweb
depends_on:
- db
env_file:
- env.sh
volumes:
- ${PCW_BASE_DIR}/project-data:/project-data:rw
# pocoweb pkg
pcwpkg:
build: services/pcwpkg
restart: always
links:
- db
depends_on:
- db
env_file:
- env.sh
# pocoweb pool
pcwpool:
build: services/pcwpool
restart: always
links:
- db
depends_on:
- db
env_file:
- env.sh
volumes:
- ${PCW_BASE_DIR}/project-data:/project-data:ro