Compare commits
2 Commits
Media_Serv
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
be8d4a098d | ||
|
3ea3bc5e6e |
2
aaa.yaml
2
aaa.yaml
@ -25,5 +25,7 @@ configs:
|
||||
file: /home/<your user>/configs/config.production.json
|
||||
traefik-config:
|
||||
file: /home/<your user>/configs/traefik.toml
|
||||
ddclient-config:
|
||||
file: /home/<your user>/configs/ddclient.conf
|
||||
|
||||
services:
|
||||
|
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
|
15
configs/ddclient.conf
Normal file
15
configs/ddclient.conf
Normal file
@ -0,0 +1,15 @@
|
||||
daemon=300 # check every 300 seconds
|
||||
syslog=yes # log update msgs to syslog
|
||||
mail=your@email.address # mail all msgs to root
|
||||
mail-failure=your@email.address # mail failed update msgs to root
|
||||
pid=/var/run/ddclient.pid # record PID in file.
|
||||
ssl=yes # use ssl-support. Works with
|
||||
# ssl-library
|
||||
usev4q=webv4, \ # find IP address via web
|
||||
webv4=ipify-ipv4 # Use IPify's IPv4 address. These two work analog for IPv6
|
||||
|
||||
protocol=godaddy, \
|
||||
login=<godaddy API token>, \
|
||||
password=<godaddy API secret>, \
|
||||
zone=your.domain, \
|
||||
your.domain
|
16
ddclient.yaml
Normal file
16
ddclient.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
ddclient:
|
||||
configs:
|
||||
- source: ddclient-config
|
||||
target: /config/ddclient.conf
|
||||
deploy:
|
||||
replicas: 1
|
||||
environment:
|
||||
PUID: 10020
|
||||
PGID: 10020
|
||||
TZ: Etc/UTC
|
||||
image: "linuxserver/ddclient"
|
||||
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