Deploy Caddyfile to valhalla / deploy (push) Successful in 2m20s
Replaces ownCloud with Nextcloud (postgres + redis) and adds OnlyOffice Document Server for Google Docs-style editing. Migration is staged: nextcloud.ginnoir.com for testing, files.ginnoir.com still points at ownCloud until cutover is verified. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
64 lines
1.6 KiB
YAML
64 lines
1.6 KiB
YAML
# files stack — Nextcloud + OnlyOffice document server.
|
|
# User data on ZFS (/storage1/labdata/nextcloud/data).
|
|
# Config/DB on SSD (/config/nextcloud/, /config/onlyoffice/).
|
|
# Internal-only: files.ginnoir.com + office.ginnoir.com require LAN or tailnet.
|
|
|
|
services:
|
|
nextcloud:
|
|
container_name: nextcloud
|
|
image: nextcloud:apache
|
|
restart: unless-stopped
|
|
networks: [files, edge]
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- /config/nextcloud/html:/var/www/html
|
|
- /storage1/labdata/nextcloud/data:/var/www/html/data
|
|
- /storage1/Books:/mnt/books:ro
|
|
depends_on:
|
|
- nextcloud-postgres
|
|
- nextcloud-redis
|
|
labels:
|
|
com.centurylabs.watchtower.enable: "false"
|
|
|
|
nextcloud-postgres:
|
|
container_name: nextcloud-postgres
|
|
image: postgres:16-alpine
|
|
restart: unless-stopped
|
|
networks: [files]
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- /config/nextcloud/pgdata:/var/lib/postgresql/data
|
|
labels:
|
|
com.centurylabs.watchtower.enable: "false"
|
|
|
|
nextcloud-redis:
|
|
container_name: nextcloud-redis
|
|
image: redis:7-alpine
|
|
restart: unless-stopped
|
|
networks: [files]
|
|
labels:
|
|
com.centurylabs.watchtower.enable: "false"
|
|
|
|
onlyoffice-docs:
|
|
container_name: onlyoffice-docs
|
|
image: onlyoffice/documentserver:latest
|
|
restart: unless-stopped
|
|
networks: [files, edge]
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- /config/onlyoffice/data:/var/lib/onlyoffice
|
|
- /config/onlyoffice/logs:/var/log/onlyoffice
|
|
labels:
|
|
com.centurylabs.watchtower.enable: "false"
|
|
|
|
networks:
|
|
files:
|
|
name: files
|
|
driver: bridge
|
|
edge:
|
|
name: edge
|
|
external: true
|