forked from extern/docker
keep containers running, especially when they crash
This commit is contained in:
parent
cf680ca859
commit
1b77937d13
@ -3,6 +3,7 @@ version: '3.6'
|
|||||||
services:
|
services:
|
||||||
core:
|
core:
|
||||||
build: mod/core
|
build: mod/core
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
cap_add:
|
cap_add:
|
||||||
@ -27,6 +28,7 @@ services:
|
|||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.17
|
image: nginx:1.17
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- etherpad
|
- etherpad
|
||||||
- webrtc-sfu
|
- webrtc-sfu
|
||||||
@ -44,6 +46,7 @@ services:
|
|||||||
|
|
||||||
etherpad:
|
etherpad:
|
||||||
image: etherpad/etherpad:1.8.0
|
image: etherpad/etherpad:1.8.0
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
@ -58,6 +61,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:5.0-alpine
|
image: redis:5.0-alpine
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:6379:6379" # TODO: remove as soon as we updated all redis host references
|
- "127.0.0.1:6379:6379" # TODO: remove as soon as we updated all redis host references
|
||||||
networks:
|
networks:
|
||||||
@ -72,6 +76,7 @@ services:
|
|||||||
|
|
||||||
kurento:
|
kurento:
|
||||||
image: kurento/kurento-media-server:6.13
|
image: kurento/kurento-media-server:6.13
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
KMS_STUN_IP: ${STUN_IP}
|
KMS_STUN_IP: ${STUN_IP}
|
||||||
KMS_STUN_PORT: ${STUN_PORT}
|
KMS_STUN_PORT: ${STUN_PORT}
|
||||||
@ -85,6 +90,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./bbb-webrtc-sfu
|
context: ./bbb-webrtc-sfu
|
||||||
dockerfile: ../mod/webrtc-sfu/Dockerfile
|
dockerfile: ../mod/webrtc-sfu/Dockerfile
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- kurento
|
- kurento
|
||||||
@ -108,6 +114,7 @@ services:
|
|||||||
|
|
||||||
html5:
|
html5:
|
||||||
build: mod/html5
|
build: mod/html5
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mongodb
|
- mongodb
|
||||||
|
Loading…
Reference in New Issue
Block a user