forked from rodekruis/IBF-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.azure.yml
42 lines (39 loc) · 1.37 KB
/
docker-compose.azure.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
version: "3.8"
services:
ibf-api-service:
image: rodekruis/ibf-api-service
ports:
- 80:3000
environment:
- DB_TYPE=${DB_TYPE}
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_DATABASE=${DB_DATABASE}
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- NODE_ENV=production
- SECRET=${SECRET}
- NG_PRODUCTION=true
- NG_API_URL=${NG_API_URL}
- NG_USE_MOCK_DATA=${NG_USE_MOCK_DATA}
- NG_USE_SERVICE_WORKER=${NG_USE_SERVICE_WORKER}
- NG_DEFAULT_COUNTRY_CODE=${NG_DEFAULT_COUNTRY_CODE}
- NG_GEOSERVER_URL=${NG_GEOSERVER_URL}
volumes:
- api-service-root:/home/ibf/api-service
- web-interface-root:/home/ibf/api-service/www
ibf-web-interface:
command: npm start
image: rodekruis/ibf-web-interface
environment:
- NG_PRODUCTION=true
- NG_API_URL=${NG_API_URL}
- NG_USE_MOCK_DATA=${NG_USE_MOCK_DATA}
- NG_USE_SERVICE_WORKER=${NG_USE_SERVICE_WORKER}
- NG_DEFAULT_COUNTRY_CODE=${NG_DEFAULT_COUNTRY_CODE}
- NG_GEOSERVER_URL=${NG_GEOSERVER_URL}
volumes:
- web-interface-root:/home/node/app/www
volumes:
api-service-root:
web-interface-root: