docker compose restart unless stopped

This commit is contained in:
2023-08-29 19:43:19 +01:00
parent 9d6a0c07ed
commit 37bb2a7f33

View File

@@ -6,7 +6,9 @@ services:
ports: [ "8430:80" ] ports: [ "8430:80" ]
environment: environment:
- SECRET=${SECRET} - SECRET=${SECRET}
restart: unless-stopped
redis: redis:
hostname: sus-redis hostname: sus-redis
image: redis:7 image: redis:7
volumes: [ "./redis:/data" ] volumes: [ "./redis:/data" ]
restart: unless-stopped