-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
35 lines (33 loc) · 1.14 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
version: '3.2'
services:
web-client:
restart: always
stdin_open: true
tty: true
image: remotivelabs/remotive-web-app:${REMOTIVEWEBAPP_TAG:-latest}
volumes:
- "${CONFIG_FOLDER:-./configuration}:/service_client/configuration"
ports:
- "8080:8080"
signal-broker:
tty: true
restart: always
image: remotivelabs/remotivebroker-server:${REMOTIVEBROKER_TAG:-latest}
network_mode: "host"
cap_add:
- NET_ADMIN
# Mount the folder "configuration" folder into container. Itself
# configurable through an environment variable (or set in a .env file).
volumes:
- "${CONFIG_FOLDER:-./configuration}:/signalbroker/_build/prod/rel/signal_server/configuration"
# Use this if you need to customize the command that this container runs;
# set the variable in a .env file.
# command: "${CUSTOM_COMMAND}"
environment:
- RELEASE_DISTRIBUTION=name
- RELEASE_COOKIE=test
- RELEASE_NODE=node@${NODE_NAME:-unset.example.com}
# Below adds support for version < 1.7.0
- REPLACE_OS_VARS=true
- COOKIE=test
- NODENAME=node@${NODE_NAME:-unset.example.com}