From 6375cc9d257ec5cb25becc4baf3ec418c71cfc01 Mon Sep 17 00:00:00 2001 From: Zakhy Date: Sat, 12 Oct 2024 11:30:59 +0700 Subject: [PATCH] autorestart --- docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7a48640..b0090da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,8 +16,7 @@ services: depends_on: postgres: condition: service_healthy - volumes: - - static_volume:/home/app/web/static/ + restart: always postgres: image: postgres:15 @@ -33,7 +32,6 @@ services: timeout: 60s retries: 3 start_period: 10s - + restart: always volumes: postgres_data: - static_volume: