fix: adding restart directives to docker compose

This commit is contained in:
Paul Couture 2023-12-20 06:53:00 +00:00
parent f7a27e7f62
commit aa79de5688

View File

@ -28,6 +28,7 @@ services:
PHP_OPEN_BASEDIR: "/var/www/html:/static"
ports:
- "8776:80"
restart: always
networks:
- proxy
- default
@ -56,6 +57,7 @@ services:
networks:
- proxy
- default
restart: always
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
@ -81,6 +83,7 @@ services:
- default
ports:
- "51533:3306" # Adjust the external port if needed
restart: always
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
@ -98,6 +101,7 @@ services:
- ./redis/redis-data:/var/lib/redis:cached
environment:
- REDIS_REPLICATION_MODE=master
restart: always
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"