Files
openproject/docker/dev/nextcloud/docker-compose.yml
T
Jan Sandbrink 827f577c85 Allow to change TLD for docker dev stack
Instead of assuming that the TLD is .local, we allow
to overwrite it with different TLDs, so that the local setup
can be adapted to developer needs.
2026-01-27 13:05:19 +01:00

36 lines
1.1 KiB
YAML

services:
nextcloud:
image: nextcloud:stable
restart: unless-stopped
networks:
- gateway
volumes:
- nextcloud:/var/www/html
# If you want to use a local version of a plugin, mount a local folder
# more detailed instructions available at https://github.com/nextcloud/integration_openproject/blob/master/docs/setup_via_docker.md
# - ../nextcloud_apps:/var/www/html/custom_apps
labels:
- "traefik.enable=true"
- "traefik.http.routers.nextcloud.rule=Host(`nextcloud.${OPENPROJECT_DOCKER_DEV_TLD}`)"
- "traefik.http.routers.nextcloud.entrypoints=websecure"
cron:
image: nextcloud:stable
restart: unless-stopped
volumes:
- nextcloud:/var/www/html
# If you want to use a local version of a plugin, mount a local folder
# more detailed instructions available at https://github.com/nextcloud/integration_openproject/blob/master/docs/setup_via_docker.md
# - ../nextcloud_apps:/var/www/html/custom_apps
networks:
- gateway
entrypoint: /cron.sh
networks:
gateway:
external: true
name: gateway
volumes:
nextcloud: