Document Sharing
This commit is contained in:
parent
3ea3bc5e6e
commit
be8d4a098d
22
collabora.yaml
Normal file
22
collabora.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
collabora:
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.collabora-rtr.entrypoints: "websecure"
|
||||||
|
traefik.http.routers.collabora-rtr.rule: "Host(`collabora.your.domain`)"
|
||||||
|
traefik.http.routers.collabora-rtr.service: "collabora"
|
||||||
|
traefik.http.services.collabora.loadbalancer.server.port: "9980"
|
||||||
|
environment:
|
||||||
|
PUID: 10021
|
||||||
|
PGID: 10021
|
||||||
|
password: "<secret password that is never used>"
|
||||||
|
username: "admin"
|
||||||
|
domain: "[collabora\\.your\\.domain]"
|
||||||
|
extra_params: "--o:ssl.enable=false --o:ssl.termination=true"
|
||||||
|
image: "collabora/code"
|
||||||
|
logging:
|
||||||
|
driver: journald
|
||||||
|
networks:
|
||||||
|
- homelab
|
||||||
|
restart: on-failure
|
47
nextcloud.yaml
Normal file
47
nextcloud.yaml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
nextcloud:
|
||||||
|
container_name: "nextcloud"
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.nextcloud-rtr.entrypoints: websecure
|
||||||
|
traefik.http.routers.nextcloud-rtr.middlewares: "nextcloud-dav@swarm, nextcloud-index@swarm"
|
||||||
|
traefik.http.routers.nextcloud-rtr.rule: "Host(`nextcloud.your.domain`)"
|
||||||
|
traefik.http.routers.nextcloud-rtr.service: "nextcloud"
|
||||||
|
traefik.http.services.nextcloud.loadbalancer.server.port: "80"
|
||||||
|
traefik.http.middlewares.nextcloud-dav.redirectregex.regex: "https://(.*t)/.well-known/(card|cal)dav"
|
||||||
|
traefik.http.middlewares.nextcloud-dav.redirectregex.replacement: "https://$$1/remote.php/dav/"
|
||||||
|
traefik.http.middlewares.nextcloud-dav.redirectregex.permanent: "true"
|
||||||
|
traefik.http.middlewares.nextcloud-index.redirectregex.regex: "https://(.*t)/.well-known/(webfinger|nodeinfo)"
|
||||||
|
traefik.http.middlewares.nextcloud-index.redirectregex.replacement: "https://$$1/index.php/.well-known/$$2"
|
||||||
|
traefik.http.middlewares.nextcloud-index.redirectregex.permanent: "true"
|
||||||
|
replicas: 1
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: "nextcloud"
|
||||||
|
POSTGRES_USER: "nextcloud"
|
||||||
|
POSTGRES_PASSWORD_FILE: "/run/secrets/nextcloud"
|
||||||
|
POSTGRES_HOST: "postgres"
|
||||||
|
NEXTCLOUD_ADMIN_USER: "admin"
|
||||||
|
NEXTCLOUD_ADMIN_PASSWORD_FILE: "/run/secrets/nextcloud-admin"
|
||||||
|
NEXTCLOUD_TRUSTED_DOMAINS: "nextcloud.your.domain"
|
||||||
|
REDIS_HOST: "valkey"
|
||||||
|
SMTP_HOST: "your.mail.server"
|
||||||
|
SMTP_SECURE: "starttls"
|
||||||
|
SMTP_PORT: "25"
|
||||||
|
SMTP_AUTHTYPE: "PLAIN"
|
||||||
|
MAIL_FROM_ADDRESS: "nextcloud@your.domain"
|
||||||
|
MAIL_DOAIN: "your.domain"
|
||||||
|
TRUSTED_PROXIES: "10.64.0.0/16"
|
||||||
|
APACHE_DISABLE_REWRITE_IP: 1
|
||||||
|
image: "nextcloud:production"
|
||||||
|
logging:
|
||||||
|
driver: journald
|
||||||
|
networks:
|
||||||
|
- homelab
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
restart: on-failure
|
||||||
|
secrets:
|
||||||
|
- nextcloud
|
||||||
|
- nextcloud-admin
|
||||||
|
volumes:
|
||||||
|
- "/srv/data/docker/nextcloud/data:/var/www/html"
|
Loading…
Reference in New Issue
Block a user