forked from DFEAGILEDEVOPS/MTC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.web.yml
45 lines (45 loc) · 1006 Bytes
/
docker-compose.web.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
# This does NOT work in combination with the *-test.yml files. Use it only with the base compose file.
version: '3'
services:
admin-app:
build: ./admin
container_name: mtc_admin
ports:
- "3001:3001"
environment:
SQL_SERVER: "sqldb"
MIGRATE: 1
depends_on:
- sqldb
links:
- sqldb
pupil-api:
container_name: mtc_pupil_api
build: ./pupil-api
ports:
- "3003:3003"
environment:
SQL_SERVER: "sqldb"
API_AUTH: "true"
API_CHECK_START: "true"
API_CHECK_SUBMIT: "true"
depends_on:
- sqldb
- admin-app
links:
- sqldb
pupil-app:
container_name: mtc_pupil
build:
context: ./pupil-spa
args:
api_url: http://pupil-api:3003
auth_url: http://pupil-api:3003/auth
check_started_url: http://pupil-api:3003/check-start
check_submission_url: http://pupil-api:3003/submit
ports:
- "80:80"
depends_on:
- pupil-api
links:
- pupil-api