forked from rodekruis/IBF-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
60 lines (53 loc) · 1.62 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
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.8"
services:
ibf-api-service:
command: ["npm", "run", "start:dev"]
environment:
- NODE_ENV=development
volumes:
- ./services/API-service:/home/ibf/api-service
ports:
- 3000:3000
depends_on:
- ibf-local-db
networks:
- web-server-network
- pipeline-network
ibf-dashboard:
command: ["npm", "run", "start"]
environment:
- NG_CONFIGURATION=development
ports:
- 4200:4200
volumes:
- ./interfaces/IBF-dashboard:/home/node/app
ibf-pipeline:
ports:
- 5432:5432
volumes:
- ./services/IBF-pipeline:/home/ibf
ibf-geoserver:
ports:
- 8081:8080
volumes:
- ./services/IBF-pipeline/geoserver/geodata:/opt/geoserver/data_dir/workspaces/ibf-system/ibf-pipeline
- ./services/IBF-pipeline/geoserver/workspaces/ibf-system:/opt/geoserver/data_dir/workspaces/ibf-system
nginx:
volumes:
- ./nginx/conf.d:/etc/nginx/user.conf.d
- ./nginx/letsencrypt:/etc/letsencrypt
ibf-local-db:
image: postgis/postgis
environment:
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_DATABASE}
volumes:
- ./database/init.sql:/docker-entrypoint-initdb.d/init.sql
- ibf-local-db-data:/var/lib/postgresql/data
ports:
- 5437:5432
networks:
- pipeline-network
volumes:
ibf-local-db-data: