Skip to content

Instantly share code, notes, and snippets.

@tomasmetal23
Created June 24, 2020 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomasmetal23/c0f0e296b53b8d99f3e787f6d284c6c7 to your computer and use it in GitHub Desktop.
Save tomasmetal23/c0f0e296b53b8d99f3e787f6d284c6c7 to your computer and use it in GitHub Desktop.
version: '3.8'
#volumes:
# nextcloud:
services:
nextcloud:
image: nextcloud
volumes:
- type: bind
source: ~/filemanager
target: /var/www/html
restart: always
#optional traefik 1.7 labels
# labels:
# - "traefik.backend=nextcloud"
# - "traefik.docker.network=web"
# - "traefik.frontend.rule=Host:cloud.example.com"
# - "traefik.enable=true"
# - "traefik.port=80"
networks:
- "web"
networks:
#db:
web:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment