feat: add restart: unless-stopped option to NC's containers

This commit is contained in:
cătălin 2024-09-24 09:21:57 +02:00
commit b13829b55f
No known key found for this signature in database

View file

@ -9,6 +9,7 @@ services:
target: /tmp:exec target: /tmp:exec
environment: environment:
- TZ=Europe/Madrid - TZ=Europe/Madrid
restart: unless-stopped
networks: networks:
- nextcloud - nextcloud
@ -24,6 +25,7 @@ services:
environment: environment:
PHP_MEMORY_LIMIT: ${PHP_MEMORY_LIMIT:-2048M} PHP_MEMORY_LIMIT: ${PHP_MEMORY_LIMIT:-2048M}
NEXTCLOUD_INIT_HTACCESS: ${NEXTCLOUD_INIT_HTACCESS:-1} NEXTCLOUD_INIT_HTACCESS: ${NEXTCLOUD_INIT_HTACCESS:-1}
restart: unless-stopped
ports: ports:
- 8080:80 - 8080:80
networks: networks: