mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
827f577c85
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.
36 lines
1.1 KiB
YAML
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:
|