#67 Init nextcloud

This commit is contained in:
Joey Hafner 2022-11-02 09:00:07 -07:00
parent dc30d0a0ff
commit 85262dc130
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1 @@
DOCKER_DATA=/home/joey/data/nextcloud

View File

@ -0,0 +1,25 @@
version: '3'
services:
nextcloud:
image: nextcloud/all-in-one:latest
container_name: nextcloud_nextcloud
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
labels:
- traefik.http.routers.nextcloud.rule=Host(`nextcloud.jafner.net`)
- traefik.http.routers.nextcloud.tls.certresolver=lets-encrypt
networks:
- web
volumes:
- $DOCKER_DATA/docker-aio-config:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
web:
external: true