infrastructure/ansible/roles/pve_docker/files/nextcloud/docker-compose.yml

61 lines
1.8 KiB
YAML
Raw Normal View History

2020-03-08 18:12:12 +00:00
version: "2.3"
services:
nextcloud:
2021-01-20 20:58:28 +00:00
image: linuxserver/nextcloud:version-20.0.5
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
2021-02-10 09:12:42 +00:00
- TZ={{ TZ }}
2020-10-19 17:29:28 +01:00
- DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest
volumes:
2021-01-09 18:32:16 +00:00
- ./nextcloud/apps:/config/www/nextcloud/apps
- ./nextcloud/config.php:/config/www/nextcloud/config/config.php
2020-10-24 14:26:30 +01:00
- /mnt/tank/files/nextcloud:/data
- /mnt/tank/files:/mnt/files
restart: unless-stopped
2020-06-24 18:35:20 +01:00
depends_on:
- mariadb
2020-06-24 18:35:20 +01:00
- redis
- collabora
tmpfs:
- /config/log
labels:
2020-06-18 20:49:12 +01:00
- traefik.enable=true
- traefik.http.routers.nextcloud.rule=Host(`intersect.jakehoward.tech`)
- traefik.http.routers.nextcloud.tls.certresolver=le
- traefik.http.services.nextcloud-nextcloud.loadbalancer.server.port=443
- traefik.http.services.nextcloud-nextcloud.loadbalancer.server.scheme=https
- traefik.http.middlewares.nextcloud-hsts.headers.stsseconds=15552000
- traefik.http.routers.nextcloud.middlewares=nextcloud-hsts@docker
mariadb:
image: mariadb:10.5
restart: unless-stopped
2020-03-18 21:35:17 +00:00
volumes:
- ./mariadb:/var/lib/mysql
2020-03-18 21:35:17 +00:00
environment:
- MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=nextcloud
redis:
2020-06-07 15:09:20 +01:00
image: redis:6-alpine
restart: unless-stopped
volumes:
- ./redis:/data
2020-06-07 21:09:02 +01:00
collabora:
image: collabora/code:latest
restart: unless-stopped
2020-06-07 21:09:02 +01:00
cap_add:
- MKNOD
environment:
2020-06-18 20:49:12 +01:00
- domain=intersect\\.jakehoward\\.tech
labels:
2020-06-18 20:49:12 +01:00
- traefik.enable=true
- traefik.http.routers.collabora.rule=Host(`collabora.jakehoward.tech`)
- traefik.http.routers.collabora.tls.certresolver=le
- traefik.http.services.collabora-nextcloud.loadbalancer.server.scheme=https