From aa79de568814c654174d33807a20081c7510d53c Mon Sep 17 00:00:00 2001 From: Paul Couture Date: Wed, 20 Dec 2023 06:53:00 +0000 Subject: [PATCH] fix: adding restart directives to docker compose --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index af02b5a..42dc817 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"