feat: add nextcloud dockerfiles
This commit is contained in:
parent
f5ee3353fa
commit
156e84bf20
4 changed files with 115 additions and 1 deletions
31
docker/nextcloud/docker-compose.yml
Normal file
31
docker/nextcloud/docker-compose.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
services:
|
||||
imaginary:
|
||||
image: nextcloud/aio-imaginary:latest
|
||||
cap_add:
|
||||
- SYS_NICE
|
||||
volumes:
|
||||
- type: tmpfs
|
||||
target: /tmp:exec
|
||||
environment:
|
||||
- TZ=Europe/Madrid
|
||||
networks:
|
||||
- nextcloud
|
||||
|
||||
nextcloud:
|
||||
build: .
|
||||
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}
|
||||
networks:
|
||||
- nextcloud
|
||||
|
||||
networks:
|
||||
nextcloud: {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue