You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
argos/docker-compose.yml

123 lines
3.2 KiB

3 months ago
version: "3.8"
4 years ago
services:
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
3 months ago
dmp-pdf-converter:
image: gotenberg/gotenberg:7.4.0
container_name: opendmp-pdf-converter
restart: unless-stopped
ports:
- "3001:3000"
expose:
- "3000"
hostname: opendmp-pdf
networks:
opendmp-pdf-network:
aliases:
- opendmp-pdf
5 years ago
dmp-backend:
build:
context: ./dmp-backend
container_name: opendmp-backend
env_file: ./dmp-backend/Docker/dmp-backend.env
restart: unless-stopped
mem_limit: 2048m
ports:
- "8081:8081"
3 months ago
expose:
- "8080"
networks:
- opendmp-backend-network
3 months ago
- opendmp-pdf-network
- open-dmp-elk-network
volumes:
3 months ago
- ./dmp-backend/web/main/resources/config:/app/config
- ./user-guide:/app/user-guide
- ./dmp-frontend/src/assets/i18n:/app/i18n
- ./dmp-backend/web/main/resources/externalUrls:/app/externalUrls
- ./dmp-backend/web/main/resources/templates:/app/templates
- ./openDMP/dmp-backend/opendmp-logs:/app/logs
- ./openDMP/dmp-backend/tmp:/app/tmp
3 months ago
- ./dmp-backend/web/main/resources/logging:/app/logging
- ./dmp-backend/web/main/resources/documents:/app/documents
5 years ago
dmp-frontend:
build:
context: ./dmp-frontend
container_name: opendmp-frontend
mem_limit: 2048m
restart: unless-stopped
ports:
- "8080:4200"
4 years ago
volumes:
- ./openDMP/dmp-frontend/static-files:/usr/share/nginx/static
3 months ago
- ./dmp-frontend/src/assets/config:/usr/share/nginx/html/assets/config
networks:
- opendmp-frontend-network
3 months ago
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION}
container_name: elasticsearch
build:
context: ./ELK.Docker/elasticsearch/
args:
ELK_VERSION: $ELK_VERSION
healthcheck:
# test: curl --cacert /usr/share/elasticsearch/config/certificates/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi
interval: 30s
timeout: 10s
retries: 5
logstash:
image: docker.elastic.co/logstash/logstash:${STACK_VERSION}
container_name: logstash
build:
context: ./ELK.Docker/logstash/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:${STACK_VERSION}
build:
context: ./ELK.Docker/kibana/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- elasticsearch
filebeat:
image: docker.elastic.co/filebeat/filebeat:${STACK_VERSION}
build:
context: ./ELK.Docker/filebeat/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- logstash
networks:
opendmp-frontend-network:
opendmp-backend-network:
3 months ago
opendmp-pdf-network:
open-dmp-elk-network:
volumes:
dmpdata:
external: true