2022-11-08 10:55:18 +01:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
dnpm-frontend:
|
|
|
|
depends_on: [ dnpm-backend ]
|
|
|
|
build:
|
2022-11-09 10:46:30 +01:00
|
|
|
context: ../dnpm/origin
|
2022-11-08 10:55:18 +01:00
|
|
|
dockerfile: Frontend.Dockerfile
|
|
|
|
args:
|
|
|
|
NUXT_HOST: 0.0.0.0
|
|
|
|
NUXT_PORT: 3000
|
|
|
|
BACKEND_PROTOCOL: http
|
|
|
|
BACKEND_HOSTNAME: localhost
|
|
|
|
BACKEND_PORT: 9000
|
|
|
|
DNPM_BWHC_FRONTEND_ZIP: ${DNPM_BWHC_FRONTEND_ZIP}
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
environment:
|
|
|
|
BACKEND_PROTOCOL: http
|
|
|
|
BACKEND_HOSTNAME: localhost
|
|
|
|
BACKEND_PORT: 9000
|
|
|
|
no_proxy: dnpm-backend
|
|
|
|
|
|
|
|
dnpm-backend:
|
|
|
|
build:
|
2022-11-09 10:46:30 +01:00
|
|
|
context: ../dnpm/origin
|
2022-11-08 10:55:18 +01:00
|
|
|
dockerfile: Backend.Dockerfile
|
|
|
|
args:
|
|
|
|
BWHC_BASE_DIR: /bwhc-backend
|
|
|
|
DNPM_BWHC_BACKEND_ZIP: ${DNPM_BWHC_BACKEND_ZIP}
|
|
|
|
ports:
|
|
|
|
- 9000:9000
|
|
|
|
environment:
|
|
|
|
APPLICATION_SECRET: ${DNPM_APPLICATION_SECRET}
|
|
|
|
ZPM_SITE: ${ZPM_SITE}
|
|
|
|
noproxy: dnpm-frontend,connect
|
|
|
|
# PLAY_HTTP_PORT: 9000
|
|
|
|
# PLAY_HTTP_ADDRESS: 0.0.0.0
|
|
|
|
volumes:
|
2022-11-08 13:45:29 +01:00
|
|
|
- ../dnpm/origin/logback.xml:/bwhc-backend/logback.xml:ro
|
2022-11-08 10:55:18 +01:00
|
|
|
- /etc/bridgehead/dnpm/bwhcConnectorConfig.xml:/bwhc-backend/bwhcConnectorConfig.xml:ro
|
|
|
|
- /etc/bridgehead/dnpm/production.conf:/bwhc-backend/production.conf:ro
|
|
|
|
- bwhc_data:/bwhc-backend/data/
|
|
|
|
- bwhc_hgnc_data:/bwhc-backend/hgnc_data/
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
bwhc_data:
|
|
|
|
bwhc_hgnc_data:
|