argos/docker-compose.yml

63 lines
1.6 KiB
YAML
Raw Normal View History

2020-04-29 13:03:19 +02:00
version: "2.4"
2018-07-11 15:47:36 +02:00
2020-04-27 15:21:03 +02:00
services:
2020-04-29 13:03:19 +02:00
dmp-db:
image: postgres
container_name: opendmp-db
restart: unless-stopped
ports:
- "5001:5432"
expose:
- "5432"
volumes:
- dmpdata:/var/lib/postgresql/data
- ./dmp-db-scema:/docker-entrypoint-initdb.d/
- ./dmp-db-scema/main:/main
- ./dmp-db-scema/updates:/updates
env_file: ./dmp-db-scema/Docker/dmp-db.env
networks:
- opendmp-backend-network
2018-06-27 12:29:21 +02:00
dmp-backend:
2020-04-29 13:03:19 +02:00
build:
2020-04-27 15:21:03 +02:00
context: ./dmp-backend
container_name: opendmp-backend
env_file: ./dmp-backend/Docker/dmp-backend.env
restart: unless-stopped
mem_limit: 2048m
ports:
- "8081:8081"
networks:
- opendmp-backend-network
volumes:
- ./openDMP/dmp-backend/config:/app/config
- ./openDMP/dmp-backend/user-guide:/app/user-guide
- ./openDMP/dmp-backend/i18n:/app/i18n
- ./openDMP/dmp-backend/externalUrls:/app/externalUrls
- ./openDMP/dmp-backend/templates:/app/templates
- ./openDMP/dmp-backend/opendmp-logs:/app/logs
- ./openDMP/dmp-backend/tmp:/app/tmp
- ./openDMP/dmp-backend/logging:/app/logging
2020-05-04 16:15:52 +02:00
- ./openDMP/dmp-backend/documents:/app/documents
2018-06-27 12:29:21 +02:00
dmp-frontend:
build:
2020-04-27 15:21:03 +02:00
context: ./dmp-frontend
container_name: opendmp-frontend
mem_limit: 2048m
restart: unless-stopped
ports:
- "8080:4200"
2018-08-27 17:09:33 +02:00
volumes:
2020-04-27 15:21:03 +02:00
- ./openDMP/dmp-frontend/static-files:/usr/share/nginx/static
- ./openDMP/dmp-frontend/webapp/config:/usr/share/nginx/html/assets/config
networks:
- opendmp-frontend-network
networks:
opendmp-frontend-network:
2020-04-29 13:03:19 +02:00
opendmp-backend-network:
volumes:
dmpdata:
external: true