From 849dcef163a85e34dfbdee95866834a3ca811126 Mon Sep 17 00:00:00 2001 From: mo8it Date: Tue, 23 Apr 2024 23:01:18 +0200 Subject: [PATCH] Remove Nextcloud --- containers/nextcloud/nextcloud-db.container | 15 --------------- containers/nextcloud/nextcloud.container | 19 ------------------- containers/nextcloud/nextcloud.network | 1 - volumes/traefik/dynamic.yml | 14 -------------- 4 files changed, 49 deletions(-) delete mode 100644 containers/nextcloud/nextcloud-db.container delete mode 100644 containers/nextcloud/nextcloud.container delete mode 100644 containers/nextcloud/nextcloud.network diff --git a/containers/nextcloud/nextcloud-db.container b/containers/nextcloud/nextcloud-db.container deleted file mode 100644 index 26b84ae..0000000 --- a/containers/nextcloud/nextcloud-db.container +++ /dev/null @@ -1,15 +0,0 @@ -[Container] -Image=docker.io/library/postgres:16 -AutoUpdate=registry -Network=nextcloud.network -Volume=%h/volumes/nextcloud/postgres:/var/lib/postgresql/data:Z - -EnvironmentFile=%h/volumes/nextcloud/.postgres.env -Environment=TZ=Europe/Berlin -Environment=PGTZ=Europe/Berlin - -[Service] -Restart=always - -[Install] -WantedBy=default.target diff --git a/containers/nextcloud/nextcloud.container b/containers/nextcloud/nextcloud.container deleted file mode 100644 index 6706ec0..0000000 --- a/containers/nextcloud/nextcloud.container +++ /dev/null @@ -1,19 +0,0 @@ -[Container] -Image=docker.io/library/nextcloud:28-apache -AutoUpdate=registry -Network=traefik.network -Network=nextcloud.network -Volume=%h/volumes/nextcloud/nextcloud:/var/www/html:Z - -EnvironmentFile=%h/volumes/nextcloud/.postgres.env -Environment=POSTGRES_HOST=systemd-nextcloud-db - -[Unit] -Requires=nextcloud-db.service lldap.service -After=nextcloud-db.service lldap.service - -[Service] -Restart=always - -[Install] -WantedBy=default.target diff --git a/containers/nextcloud/nextcloud.network b/containers/nextcloud/nextcloud.network deleted file mode 100644 index 264f70a..0000000 --- a/containers/nextcloud/nextcloud.network +++ /dev/null @@ -1 +0,0 @@ -[Network] diff --git a/volumes/traefik/dynamic.yml b/volumes/traefik/dynamic.yml index c4c6b86..d136bf6 100644 --- a/volumes/traefik/dynamic.yml +++ b/volumes/traefik/dynamic.yml @@ -21,21 +21,11 @@ http: average: 2 burst: 4 period: 2 - nextcloud_dav: - redirectRegex: - regex: "^(https://nextcloud\\.mo8it\\.com)/\\.well-known/(card|cal)dav$" - replacement: "${1}/remote.php/dav" - permanent: true routers: to_forgejo: rule: Host(`git.mo8it.com`) service: forgejo - to_nextcloud: - rule: Host(`nextcloud.mo8it.com`) - middlewares: - - nextcloud_dav - service: nextcloud to_hedgedoc: rule: Host(`pads.mo8it.com`) || Host(`pads.mo8it.xyz`) middlewares: @@ -91,10 +81,6 @@ http: loadBalancer: servers: - url: http://systemd-forgejo:3000 - nextcloud: - loadBalancer: - servers: - - url: http://systemd-nextcloud hedgedoc: loadBalancer: servers: