-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
44 lines (40 loc) · 1.27 KB
/
docker-compose.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
version: '3.7'
# Example for use of docker configs
# configs:
# bwhcConnectorConfig:
# external: true
services:
frontend:
build:
context: .
dockerfile: Frontend.Dockerfile
args:
NUXT_HOST: 0.0.0.0
NUXT_PORT: 3000
BACKEND_PROTOCOL: http
BACKEND_HOSTNAME: localhost
BACKEND_PORT: 9000
environment:
BACKEND_PROTOCOL: http
BACKEND_HOSTNAME: localhost
BACKEND_PORT: 9000
backend:
build:
context: .
dockerfile: Backend.Dockerfile
args:
BWHC_BASE_DIR: /bwhc-backend
environment:
APPLICATION_SECRET: mydummyapplicationsecret12345678
ZPM_SITE: http://zpm.example.com
# PLAY_HTTP_PORT: 9000
# PLAY_HTTP_ADDRESS: 0.0.0.0
#
# Example: use 'bwhcConnectorConfig.xml' from docker config
# configs:
# - source: bwhcConnectorConfig
# target: /bwhc-backend/bwhcConnectorConfig.xml
#
# Example: mount 'bwhcConnectorConfig.xml' into container
# volumes:
# - "./bwhcConnectorConfig.xml:/bwhc-backend/bwhcConnectorConfig.xml:ro