Jafner.net/homelab/server/config/nextcloud/docker-compose.yml

31 lines
786 B
YAML
Raw Normal View History

2022-11-02 09:00:07 -07:00
version: '3'
services:
nextcloud:
2022-11-02 10:52:11 -07:00
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud_nextcloud
2022-11-02 09:00:07 -07:00
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"
2022-11-02 10:52:11 -07:00
env_file:
- nextcloud.env
2022-11-02 09:00:07 -07:00
labels:
- traefik.http.routers.nextcloud.rule=Host(`nextcloud.jafner.net`)
- traefik.http.routers.nextcloud.tls.certresolver=lets-encrypt
2022-11-02 10:52:11 -07:00
- traefik.http.services.nextcloud.loadbalancer.server.port=443
2022-11-02 09:00:07 -07:00
networks:
- web
volumes:
2022-11-02 10:52:11 -07:00
- $DOCKER_DATA/config:/config
- $DOCKER_DATA/data:/data
2022-11-02 09:00:07 -07:00
networks:
web:
external: true
volumes:
nextcloud_aio_mastercontainer: