Skip to content

Instantly share code, notes, and snippets.

@johackim johackim/nextcloud.yml
Last active Dec 5, 2019

Embed
What would you like to do?
version: '3.7'
services:
nextcloud:
image: nextcloud:${VERSION:-17.0.1}
volumes:
- nextcloud:/var/www/html
labels:
- traefik.http.routers.web.rule=Host(`${DOMAIN:-nextcloud.localhost}`)
- traefik.http.routers.web.tls=${HTTPS:-false}
- traefik.http.routers.web.tls.certresolver=mytlschallenge
networks:
- default
volumes:
nextcloud:
networks:
default:
external: true
name: traefik-net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.