homelab-docker-compose/nextcloud.yml

48 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2022-08-18 14:29:21 -04:00
services:
db_postgres:
image: postgres:12-alpine
restart: always
volumes:
- /containers/data/nextcloud/pgsql:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=
- POSTGRES_USER=nextcloud
logging:
driver: fluentd
options:
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
app:
image: linuxserver/nextcloud:latest
environment:
PUID: 1000
PGID: 1000
links:
- db_postgres
ports:
- '60080:443'
volumes:
- /containers/data/nextcloud/data:/data
- /containers/data/nextcloud/confs:/config
- /data/datastor:/nfs
restart: always
logging:
driver: fluentd
options:
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
collabora_code:
image: collabora/code
environment:
- domain=drive.example.com
ports:
- '9980:9980'
cap_add:
- MKNOD
restart: always
logging:
driver: fluentd
options:
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"