mirror of https://github.com/samply/bridgehead.git
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
dnpm-frontend:
|
|
depends_on: [ dnpm-backend ]
|
|
build:
|
|
context: ../dnpm/origin
|
|
dockerfile: Frontend.Dockerfile
|
|
network: host
|
|
args:
|
|
NUXT_HOST: 0.0.0.0
|
|
NUXT_PORT: 3000
|
|
BACKEND_PROTOCOL: ${DNPM_BMHC_BACKEND_PROTOCOL}
|
|
BACKEND_HOSTNAME: ${DNPM_BWHC_BACKEND_HOSTNAME}
|
|
BACKEND_PORT: 9000
|
|
DNPM_BWHC_FRONTEND_ZIP: ${DNPM_BWHC_FRONTEND_ZIP}
|
|
HTTP_PROXY: ${http_proxy}
|
|
HTTPS_PROXY: ${https_proxy}
|
|
ports:
|
|
- 3000:3000
|
|
environment:
|
|
BACKEND_PROTOCOL: ${DNPM_BMHC_BACKEND_PROTOCOL}
|
|
BACKEND_HOSTNAME: ${DNPM_BWHC_BACKEND_HOSTNAME}
|
|
BACKEND_PORT: 9000
|
|
no_proxy: dnpm-backend
|
|
|
|
dnpm-backend:
|
|
build:
|
|
context: ../dnpm/origin
|
|
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:
|
|
- ../dnpm/origin/logback.xml:/bwhc-backend/logback.xml:ro
|
|
- /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:
|