1
0
Fork 0
docker-compose-templates/services/nextcloud.yml

19 lines
517 B
YAML
Raw Permalink Normal View History

2023-12-05 10:31:20 +00:00
---
services:
nextcloud:
image: registry.kucharczyk.xyz/nextcloud:latest
container_name: nextcloud
networks:
public:
ipv4_address: 192.168.240.40
depends_on:
- postgres
volumes:
- "${DOCKER_STORAGE_PATH}/nextcloud/config:/var/www/html/config"
- "${DOCKER_STORAGE_PATH}/nextcloud/data:/var/www/html/data"
- "${DOCKER_STORAGE_PATH}/nextcloud/html:/var/www/html"
environment:
# caddy
- TRUSTED_PROXIES=192.168.240.2
restart: unless-stopped