Browse Source

restart unless-stopped

merge-requests/15/head
Steven Foerster 6 years ago
parent
commit
804b788814
  1. 8
      base.yml
  2. 4
      extra/jitsi-meet.yml

8
base.yml

@ -22,6 +22,7 @@ services:
- ../mistborn_volumes/base/media:/mistborn-media - ../mistborn_volumes/base/media:/mistborn-media
- ../mistborn_volumes/base/private_media:/mistborn-private-media - ../mistborn_volumes/base/private_media:/mistborn-private-media
command: /start command: /start
restart: unless-stopped
postgres: postgres:
build: build:
@ -34,6 +35,7 @@ services:
- production_postgres_data_backups:/backups - production_postgres_data_backups:/backups
env_file: env_file:
- ./.envs/.production/.postgres - ./.envs/.production/.postgres
restart: unless-stopped
traefik: traefik:
build: build:
@ -50,10 +52,12 @@ services:
ports: ports:
- "0.0.0.0:80:80/tcp" - "0.0.0.0:80:80/tcp"
- "0.0.0.0:443:443/tcp" - "0.0.0.0:443:443/tcp"
restart: unless-stopped
redis: redis:
image: redis:5.0 image: redis:5.0
container_name: mistborn_production_redis container_name: mistborn_production_redis
restart: unless-stopped
celeryworker: celeryworker:
image: cyber5k/mistborn:latest image: cyber5k/mistborn:latest
@ -76,6 +80,7 @@ services:
- traefik - traefik
- pihole - pihole
command: /start-celeryworker command: /start-celeryworker
restart: unless-stopped
celeryworker-low-priority: celeryworker-low-priority:
image: cyber5k/mistborn:latest image: cyber5k/mistborn:latest
@ -98,6 +103,7 @@ services:
- traefik - traefik
- pihole - pihole
command: /start-celeryworker-low-priority command: /start-celeryworker-low-priority
restart: unless-stopped
celerybeat: celerybeat:
image: cyber5k/mistborn:latest image: cyber5k/mistborn:latest
@ -106,6 +112,7 @@ services:
- ./.envs/.production/.django - ./.envs/.production/.django
- ./.envs/.production/.postgres - ./.envs/.production/.postgres
command: /start-celerybeat command: /start-celerybeat
restart: unless-stopped
flower: flower:
@ -114,6 +121,7 @@ services:
ports: ports:
- "5555:5555/tcp" - "5555:5555/tcp"
command: /start-flower command: /start-flower
restart: unless-stopped
pihole: pihole:
container_name: mistborn_production_pihole container_name: mistborn_production_pihole

4
extra/jitsi-meet.yml

@ -47,6 +47,7 @@ services:
meet.jitsi: meet.jitsi:
aliases: aliases:
- ${XMPP_DOMAIN} - ${XMPP_DOMAIN}
restart: unless-stopped
# XMPP server # XMPP server
jitsi-prosody: jitsi-prosody:
@ -112,6 +113,7 @@ services:
meet.jitsi: meet.jitsi:
aliases: aliases:
- ${XMPP_SERVER} - ${XMPP_SERVER}
restart: unless-stopped
# Focus component # Focus component
jitsi-jicofo: jitsi-jicofo:
@ -139,6 +141,7 @@ services:
- jitsi-prosody - jitsi-prosody
networks: networks:
meet.jitsi: meet.jitsi:
restart: unless-stopped
# Video bridge # Video bridge
jitsi-jvb: jitsi-jvb:
@ -168,6 +171,7 @@ services:
- jitsi-prosody - jitsi-prosody
networks: networks:
meet.jitsi: meet.jitsi:
restart: unless-stopped
# Custom network so all services can communicate using a FQDN # Custom network so all services can communicate using a FQDN
networks: networks:

Loading…
Cancel
Save