-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
102 lines (86 loc) · 2.19 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
99
100
101
102
version: "3"
services:
nginx:
image: nginx
depends_on:
- shock-ui
- shock-api
ports:
- 8040:8080
- 8041:80
volumes:
- ${PWD}/dev/config/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ${PWD}/dev/nginx/:/usr/share/nginx/html/
shock-ui:
image: mgrast/shock-browser:latest
depends_on:
- shock-api
- auth
volumes:
- ${PWD}/dev/config/shock-browser-config.js:/usr/share/nginx/html/js/config.js
shock-api:
image: mgrast/shock:latest
depends_on:
- shock-mongo
links:
- shock-mongo:mongo
shock-mongo:
image: mongo
adminer:
image: adminer
ports:
- 8043:8080
depends_on:
- auth-db
links:
- auth-db:db
auth-db:
image: mysql:5
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: AuthAppUsers
MYSQL_USER: authService
MYSQL_PASSWORD: authServicePassword
volumes:
- auth-db:/var/lib/mysql
auth:
image: mgrast/authserver:seqcenter
depends_on:
- auth-db
environment:
MYSQL_HOST: auth-db
MYSQL_DATABASE: AuthAppUsers
MYSQL_USER: authService
MYSQL_PASSWORD: authServicePassword
ports:
- 8042:80
volumes:
- ./dev/config/setup-auth-db.sh:/usr/local/bin/setup-auth-db.sh
- ./dev/config/auth-server-httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
- ./../Skyport2/Config/authServer/cgi/:/usr/local/apache2/htdocs/cgi-bin/
- ./dev/config/auth-db.mysql:/tmp/auth-db.mysql
- ./dev/config/OAuthConfig.pm:/usr/local/apache2/htdocs/cgi-bin/OAuthConfig.pm
command: /usr/local/bin/setup-auth-db.sh
# auth-api:
# image: mgrast/authserver:demo
# depends_on:
# - auth-db
# auth-ui:
# image: mgrast/authserver:demo
# depends_on:
# - auth-db
sequence-center:
image: mgrast/seqcenter:local
build: ./
sequence-center-ui:
image: mgrast/seqcenter:latest
depends_on:
- auth
volumes:
- ./dev/config/sequence-center.conf:/usr/local/apache2/conf/httpd.conf
sequence-center-api:
image: mgrast/seqcenter:latest
depends_on:
- auth
volumes:
auth-db: