2020-03-08 18:12:12 +00:00
|
|
|
version: "2.3"
|
2020-02-09 15:21:48 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
nextcloud:
|
2023-06-13 14:00:32 +01:00
|
|
|
image: lscr.io/linuxserver/nextcloud:27.0.0
|
2020-02-09 15:21:48 +00:00
|
|
|
environment:
|
|
|
|
- PUID={{ docker_user.id }}
|
|
|
|
- PGID={{ docker_user.id }}
|
2022-01-11 20:51:12 +00:00
|
|
|
- TZ={{ timezone }}
|
2020-10-19 17:29:28 +01:00
|
|
|
- DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest
|
2020-02-09 15:21:48 +00:00
|
|
|
volumes:
|
2021-03-02 12:26:23 +00:00
|
|
|
- "{{ app_data_dir }}/nextcloud/apps:/config/www/nextcloud/apps"
|
|
|
|
- "{{ app_data_dir }}/nextcloud/config.php:/config/www/nextcloud/config/config.php"
|
2020-10-24 14:26:30 +01:00
|
|
|
- /mnt/tank/files/nextcloud:/data
|
2020-10-10 18:01:27 +01:00
|
|
|
- /mnt/tank/files:/mnt/files
|
2020-02-09 15:21:48 +00:00
|
|
|
restart: unless-stopped
|
2020-06-24 18:35:20 +01:00
|
|
|
depends_on:
|
2020-09-26 14:49:38 +01:00
|
|
|
- mariadb
|
2020-06-24 18:35:20 +01:00
|
|
|
- redis
|
2020-02-09 15:21:48 +00:00
|
|
|
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.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
|
2022-01-15 23:44:06 +00:00
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- traefik
|
2020-02-09 15:21:48 +00:00
|
|
|
|
2022-12-02 22:37:42 +00:00
|
|
|
collabora:
|
|
|
|
image: collabora/code:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
tty: true
|
|
|
|
environment:
|
|
|
|
- domain=intersect.jakehoward.tech
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.collabora.rule=Host(`collabora.jakehoward.tech`)
|
|
|
|
- traefik.http.services.collabora-nextcloud.loadbalancer.server.scheme=https
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- traefik
|
|
|
|
tmpfs:
|
|
|
|
- /tmp
|
|
|
|
|
2020-09-26 14:49:38 +01:00
|
|
|
mariadb:
|
2022-12-13 09:08:05 +00:00
|
|
|
image: mariadb:10.6
|
2020-02-09 15:21:48 +00:00
|
|
|
restart: unless-stopped
|
2020-03-18 21:35:17 +00:00
|
|
|
volumes:
|
2023-05-14 21:05:32 +01:00
|
|
|
- ./db:/var/lib/mysql
|
2020-03-18 21:35:17 +00:00
|
|
|
environment:
|
2020-09-26 14:49:38 +01:00
|
|
|
- MYSQL_ROOT_PASSWORD=nextcloud
|
|
|
|
- MYSQL_DATABASE=nextcloud
|
|
|
|
- MYSQL_USER=nextcloud
|
|
|
|
- MYSQL_PASSWORD=nextcloud
|
2020-03-27 17:50:47 +00:00
|
|
|
|
2020-02-09 15:21:48 +00:00
|
|
|
redis:
|
2022-11-21 16:02:19 +00:00
|
|
|
image: redis:7-alpine
|
2020-02-09 15:21:48 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2023-05-14 21:05:32 +01:00
|
|
|
- ./redis:/data
|
2022-01-15 23:44:06 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|