fix: adding restart directives to docker compose
This commit is contained in:
parent
f7a27e7f62
commit
aa79de5688
@ -28,6 +28,7 @@ services:
|
|||||||
PHP_OPEN_BASEDIR: "/var/www/html:/static"
|
PHP_OPEN_BASEDIR: "/var/www/html:/static"
|
||||||
ports:
|
ports:
|
||||||
- "8776:80"
|
- "8776:80"
|
||||||
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- default
|
- default
|
||||||
@ -56,6 +57,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- default
|
- default
|
||||||
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
@ -81,6 +83,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
ports:
|
ports:
|
||||||
- "51533:3306" # Adjust the external port if needed
|
- "51533:3306" # Adjust the external port if needed
|
||||||
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
@ -98,6 +101,7 @@ services:
|
|||||||
- ./redis/redis-data:/var/lib/redis:cached
|
- ./redis/redis-data:/var/lib/redis:cached
|
||||||
environment:
|
environment:
|
||||||
- REDIS_REPLICATION_MODE=master
|
- REDIS_REPLICATION_MODE=master
|
||||||
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
|
Loading…
Reference in New Issue
Block a user