fix: restart container
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
|||||||
- django-static:/var/www/html/static
|
- django-static:/var/www/html/static
|
||||||
links:
|
links:
|
||||||
- app
|
- app
|
||||||
restart: "on-failure"
|
restart: unless-stopped
|
||||||
|
|
||||||
app:
|
app:
|
||||||
container_name: app
|
container_name: app
|
||||||
@@ -25,7 +25,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- django-static:/var/www/html/static
|
- django-static:/var/www/html/static
|
||||||
- ./data:/django_project/data:rw
|
- ./data:/django_project/data:rw
|
||||||
restart: "on-failure"
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
django-static:
|
django-static:
|
||||||
|
|||||||
Reference in New Issue
Block a user