forked from rodekruis/IBF-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
55 lines (49 loc) · 1.53 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
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
- api-network
ibf-dashboard:
command: ["npm", "run", "start"]
environment:
- NG_CONFIGURATION=development
ports:
- 4200:4200
volumes:
- ./interfaces/IBF-dashboard:/home/node/app
ibf-geoserver:
ports:
- 8081:8080
volumes:
- ./services/API-service/geoserver-volume/raster-files:/opt/geoserver/data_dir/workspaces/ibf-system/ibf-pipeline
- ./services/API-service/geoserver-volume/geoserver-layers:/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:
- api-network
restart: unless-stopped
volumes:
ibf-local-db-data: