fukuops/docker/nextcloud/docker-compose.yml
cătălin b13829b55f
Some checks failed
checks / k8s (push) Successful in 40s
checks / pre-commit (push) Successful in 1m29s
checks / tflint (push) Successful in 1m0s
OpenTofu deployments / adguard (push) Successful in 42s
OpenTofu deployments / authentik (push) Failing after 3h8m55s
feat: add restart: unless-stopped option to NC's containers
2024-09-24 09:21:57 +02:00

35 lines
930 B
YAML

---
services:
imaginary:
image: nextcloud/aio-imaginary:latest
cap_add:
- SYS_NICE
volumes:
- type: tmpfs
target: /tmp:exec
environment:
- TZ=Europe/Madrid
restart: unless-stopped
networks:
- nextcloud
nextcloud:
image: git.roboces.dev/catalin/fukuops:nextcloud-30.0.0
volumes:
- /mnt/nas1/legacy-storage/cloud/cloud/data:/var/www/html/data
- /mnt/nas1/legacy-storage/cloud/cloud/config:/var/www/html/config
- /mnt/nas1/legacy-storage/cloud/cloud/custom_apps:/var/www/html/custom_apps
- /mnt/nas1/legacy-storage/cloud/cloud/apps:/var/www/html/apps
- type: tmpfs
target: /tmp:exec
environment:
PHP_MEMORY_LIMIT: ${PHP_MEMORY_LIMIT:-2048M}
NEXTCLOUD_INIT_HTACCESS: ${NEXTCLOUD_INIT_HTACCESS:-1}
restart: unless-stopped
ports:
- 8080:80
networks:
- nextcloud
networks:
nextcloud: {}