added missing restart policies

This commit is contained in:
chandi 2020-06-06 20:06:28 +02:00
parent 1e38fd51a5
commit 5129826bf4
3 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ services:
greenlight: greenlight:
container_name: greenlight container_name: greenlight
image: bigbluebutton/greenlight:v2 image: bigbluebutton/greenlight:v2
restart: unless-stopped
env_file: .env env_file: .env
environment: environment:
DB_ADAPTER: postgresql DB_ADAPTER: postgresql
@ -18,6 +19,7 @@ services:
- 10.7.7.1:5000:80 - 10.7.7.1:5000:80
postgres: postgres:
image: postgres:12 image: postgres:12
restart: unless-stopped
environment: environment:
POSTGRES_DB: greenlight POSTGRES_DB: greenlight
POSTGRES_USER: postgres POSTGRES_USER: postgres

View File

@ -2,7 +2,7 @@ version: '3.6'
services: services:
https_proxy: https_proxy:
image: valian/docker-nginx-auto-ssl image: valian/docker-nginx-auto-ssl
restart: on-failure restart: unless-stopped
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443

View File

@ -21,6 +21,7 @@ services:
freeswitch: freeswitch:
build: mod/freeswitch build: mod/freeswitch
restart: unless-stopped
cap_add: cap_add:
- IPC_LOCK - IPC_LOCK
- NET_ADMIN - NET_ADMIN
@ -78,6 +79,7 @@ services:
mongodb: mongodb:
image: mongo:4.2 image: mongo:4.2
restart: unless-stopped
networks: networks:
bbb-net: bbb-net:
ipv4_address: 10.7.7.6 ipv4_address: 10.7.7.6