Separate databases from Traefik
This commit is contained in:
parent
4df2fb1391
commit
bc3d9e0468
12 changed files with 12 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
[Container]
|
||||
Image=docker.io/library/postgres:16
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Network=hedgedoc.network
|
||||
Volume=%h/volumes/hedgedoc/postgres:/var/lib/postgresql/data:Z
|
||||
|
||||
EnvironmentFile=%h/volumes/hedgedoc/postgres.env
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Image=quay.io/hedgedoc/hedgedoc:latest
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Network=hedgedoc.network
|
||||
Volume=%h/volumes/hedgedoc/hedgedoc/uploads:/hedgedoc/public/uploads:Z
|
||||
|
||||
EnvironmentFile=%h/volumes/hedgedoc/hedgedoc.env
|
||||
|
|
1
containers/hedgedoc.network
Normal file
1
containers/hedgedoc.network
Normal file
|
@ -0,0 +1 @@
|
|||
[Network]
|
|
@ -1,7 +1,7 @@
|
|||
[Container]
|
||||
Image=docker.io/library/postgres:16
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Network=nextcloud.network
|
||||
Volume=%h/volumes/nextcloud/postgres:/var/lib/postgresql/data:Z
|
||||
|
||||
EnvironmentFile=%h/volumes/nextcloud/.postgres.env
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
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
|
||||
|
|
1
containers/nextcloud.network
Normal file
1
containers/nextcloud.network
Normal file
|
@ -0,0 +1 @@
|
|||
[Network]
|
|
@ -1,7 +1,7 @@
|
|||
[Container]
|
||||
Image=docker.io/library/postgres:16
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Network=oxitraffic-corrode-dev.network
|
||||
Volume=%h/volumes/oxitraffic-corrode-dev/db:/var/lib/postgresql/data:Z
|
||||
|
||||
EnvironmentFile=%h/volumes/oxitraffic-corrode-dev/.postgres.env
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Image=docker.io/mo8it/oxitraffic:latest
|
||||
AutoUpdate=registry
|
||||
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/logs:/var/log/oxitraffic:Z
|
||||
|
||||
|
|
1
containers/oxitraffic-corrode-dev.network
Normal file
1
containers/oxitraffic-corrode-dev.network
Normal file
|
@ -0,0 +1 @@
|
|||
[Network]
|
|
@ -1,7 +1,7 @@
|
|||
[Container]
|
||||
Image=docker.io/library/postgres:16
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Network=oxitraffic.network
|
||||
Volume=%h/volumes/oxitraffic/db:/var/lib/postgresql/data:Z
|
||||
|
||||
EnvironmentFile=%h/volumes/oxitraffic/.postgres.env
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Image=docker.io/mo8it/oxitraffic:latest
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Network=oxitraffic.network
|
||||
Volume=%h/volumes/oxitraffic/config.toml:/volumes/config.toml:Z,ro
|
||||
Volume=%h/volumes/oxitraffic/logs:/var/log/oxitraffic:Z
|
||||
|
||||
|
|
1
containers/oxitraffic.network
Normal file
1
containers/oxitraffic.network
Normal file
|
@ -0,0 +1 @@
|
|||
[Network]
|
Loading…
Reference in a new issue