Added restart to docker files

This commit is contained in:
2024-02-16 08:52:48 +01:00
parent 2a7fbe790d
commit c273decbc1
2 changed files with 7 additions and 3 deletions

View File

@@ -10,6 +10,8 @@ services:
- traefik_web - traefik_web
volumes: volumes:
- www-data:/usr/share/nginx/html/ - www-data:/usr/share/nginx/html/
restart: always
volumes: volumes:
www-data: www-data:
@@ -17,3 +19,4 @@ volumes:
networks: networks:
traefik_web: traefik_web:
external: true external: true

View File

@@ -26,6 +26,7 @@ services:
- web - web
extra_hosts: extra_hosts:
- host.docker.internal:172.17.0.1 - host.docker.internal:172.17.0.1
restart: always
volumes: volumes:
letsencrypt: letsencrypt: