Created
October 30, 2018 20:31
-
-
Save tcoupin/34558e6e2e31e0ebd080110356d73880 to your computer and use it in GitHub Desktop.
deploy nextcloud behind traefik
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.0" | |
services: | |
nextcloud: | |
build: . | |
volumes: | |
- /mnt/pi3/nextcloud/data:/var/www/html/data | |
- /mnt/pi3/nextcloud/config:/var/www/html/config | |
- /mnt/pi3/nextcloud/apps:/var/www/html/apps | |
- /mnt/pi3/nextcloud/theme:/var/www/html/themes | |
networks: | |
- main_middle | |
labels: | |
traefik.port: "80" | |
traefik.frontend.rule: "Host:cloud.thibbo.duckdns.org" | |
traefik.backend: "owncloud" | |
traefik.docker.network: "main_middle" | |
restart: always | |
networks: | |
main_middle: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment