Gipat/services/nextcloud/docker-compose.yml

32 lines
842 B
YAML

version: "3.9"
services:
app:
image: "nextcloud"
restart: always
volumes:
- /mnt/Teka1/nextcloud:/var/www/html
- /mnt/Teka1/:/mnt/Teka1/
- /mnt/Teka2/:/mnt/Teka2/
- /mnt/Teka3/:/mnt/Teka3/
ports:
- 5002:80
environment:
- POSTGRES_HOST=192.168.0.101
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=qw6MGQcaMkvG8sR9yVsU
cron:
image: "nextcloud"
entrypoint: /cron.sh
restart: always
volumes:
- /mnt/Teka1/nextcloud:/var/www/html
- /mnt/Teka1/Videos:/mnt/Teka1/Videos
- /mnt/Teka2/Videos:/mnt/Teka2/Videos
- /mnt/Teka3/Videos:/mnt/Teka3/Videos
environment:
- POSTGRES_HOST=192.168.0.101
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=qw6MGQcaMkvG8sR9yVsU