25 lines
676 B
YAML
25 lines
676 B
YAML
|
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
|