docker compose restart unless stopped

This commit is contained in:
Akbar Rahman 2023-08-29 19:43:19 +01:00
parent 9d6a0c07ed
commit 37bb2a7f33
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

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