-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.override.yml
47 lines (43 loc) · 1.14 KB
/
docker-compose.override.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
services:
nginx:
image: nginx
ports:
- 8080:80
volumes:
- ./tools/nginx.conf:/etc/nginx/conf.d/default.conf
- ./interfaces/IBF-dashboard/www/browser:/var/www/ibf-dashboard
networks:
- api-network
restart: unless-stopped
ibf-api-service:
command: ['npm', 'run', 'start:dev']
environment:
- NODE_ENV=development
- LOCAL_PORT_IBF_SERVICE=${LOCAL_PORT_IBF_SERVICE}
- GEOSERVER_ADMIN_PASSWORD=${GEOSERVER_ADMIN_PASSWORD}
ports:
- ${LOCAL_PORT_IBF_SERVICE}:3000
depends_on:
- ibf-local-db
networks:
- api-network
ibf-dashboard:
entrypoint: ['echo', 'ibf-dashboard is disabled']
ibf-local-db:
image: postgis/postgis
environment:
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_DATABASE}
volumes:
- ./tools/db-init.sql:/docker-entrypoint-initdb.d/init.sql
- ibf-local-db-data:/var/lib/postgresql/data
ports:
- 5437:5432
networks:
- api-network
restart: unless-stopped
volumes:
ibf-local-db-data:
ibf-api-service-node-modules:
ibf-dashboard-node-modules: