Separate databases from Traefik

This commit is contained in:
Mo 2024-01-02 21:15:10 +01:00
parent 4df2fb1391
commit bc3d9e0468
12 changed files with 12 additions and 4 deletions

View file

@ -1,7 +1,7 @@
[Container] [Container]
Image=docker.io/library/postgres:16 Image=docker.io/library/postgres:16
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=hedgedoc.network
Volume=%h/volumes/hedgedoc/postgres:/var/lib/postgresql/data:Z Volume=%h/volumes/hedgedoc/postgres:/var/lib/postgresql/data:Z
EnvironmentFile=%h/volumes/hedgedoc/postgres.env EnvironmentFile=%h/volumes/hedgedoc/postgres.env

View file

@ -2,6 +2,7 @@
Image=quay.io/hedgedoc/hedgedoc:latest Image=quay.io/hedgedoc/hedgedoc:latest
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=traefik.network
Network=hedgedoc.network
Volume=%h/volumes/hedgedoc/hedgedoc/uploads:/hedgedoc/public/uploads:Z Volume=%h/volumes/hedgedoc/hedgedoc/uploads:/hedgedoc/public/uploads:Z
EnvironmentFile=%h/volumes/hedgedoc/hedgedoc.env EnvironmentFile=%h/volumes/hedgedoc/hedgedoc.env

View file

@ -0,0 +1 @@
[Network]

View file

@ -1,7 +1,7 @@
[Container] [Container]
Image=docker.io/library/postgres:16 Image=docker.io/library/postgres:16
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=nextcloud.network
Volume=%h/volumes/nextcloud/postgres:/var/lib/postgresql/data:Z Volume=%h/volumes/nextcloud/postgres:/var/lib/postgresql/data:Z
EnvironmentFile=%h/volumes/nextcloud/.postgres.env EnvironmentFile=%h/volumes/nextcloud/.postgres.env

View file

@ -2,6 +2,7 @@
Image=docker.io/library/nextcloud:28-apache Image=docker.io/library/nextcloud:28-apache
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=traefik.network
Network=nextcloud.network
Volume=%h/volumes/nextcloud/nextcloud:/var/www/html:Z Volume=%h/volumes/nextcloud/nextcloud:/var/www/html:Z
EnvironmentFile=%h/volumes/nextcloud/.postgres.env EnvironmentFile=%h/volumes/nextcloud/.postgres.env

View file

@ -0,0 +1 @@
[Network]

View file

@ -1,7 +1,7 @@
[Container] [Container]
Image=docker.io/library/postgres:16 Image=docker.io/library/postgres:16
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=oxitraffic-corrode-dev.network
Volume=%h/volumes/oxitraffic-corrode-dev/db:/var/lib/postgresql/data:Z Volume=%h/volumes/oxitraffic-corrode-dev/db:/var/lib/postgresql/data:Z
EnvironmentFile=%h/volumes/oxitraffic-corrode-dev/.postgres.env EnvironmentFile=%h/volumes/oxitraffic-corrode-dev/.postgres.env

View file

@ -2,6 +2,7 @@
Image=docker.io/mo8it/oxitraffic:latest Image=docker.io/mo8it/oxitraffic:latest
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=traefik.network
Network=oxitraffic-corrode-dev.network
Volume=%h/volumes/oxitraffic-corrode-dev/config.toml:/volumes/config.toml:Z,ro Volume=%h/volumes/oxitraffic-corrode-dev/config.toml:/volumes/config.toml:Z,ro
Volume=%h/volumes/oxitraffic-corrode-dev/logs:/var/log/oxitraffic:Z Volume=%h/volumes/oxitraffic-corrode-dev/logs:/var/log/oxitraffic:Z

View file

@ -0,0 +1 @@
[Network]

View file

@ -1,7 +1,7 @@
[Container] [Container]
Image=docker.io/library/postgres:16 Image=docker.io/library/postgres:16
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=oxitraffic.network
Volume=%h/volumes/oxitraffic/db:/var/lib/postgresql/data:Z Volume=%h/volumes/oxitraffic/db:/var/lib/postgresql/data:Z
EnvironmentFile=%h/volumes/oxitraffic/.postgres.env EnvironmentFile=%h/volumes/oxitraffic/.postgres.env

View file

@ -2,6 +2,7 @@
Image=docker.io/mo8it/oxitraffic:latest Image=docker.io/mo8it/oxitraffic:latest
AutoUpdate=registry AutoUpdate=registry
Network=traefik.network Network=traefik.network
Network=oxitraffic.network
Volume=%h/volumes/oxitraffic/config.toml:/volumes/config.toml:Z,ro Volume=%h/volumes/oxitraffic/config.toml:/volumes/config.toml:Z,ro
Volume=%h/volumes/oxitraffic/logs:/var/log/oxitraffic:Z Volume=%h/volumes/oxitraffic/logs:/var/log/oxitraffic:Z

View file

@ -0,0 +1 @@
[Network]