Adds nexus and vikunja
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
[Unit]
|
||||
Description=Vikunja database container
|
||||
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
ContainerName=vikunja-database
|
||||
Environment=POSTGRES_USER=vikunja
|
||||
Environment=POSTGRES_DB=vikunja
|
||||
Environment=TZ=Europe/Zurich
|
||||
HealthCmd=pg_isready -U vikunja
|
||||
HealthInterval=30s
|
||||
HealthTimeout=10s
|
||||
HealthRetries=5
|
||||
Image=docker.io/postgres:18
|
||||
Label=io.containers.autoupdate=registry
|
||||
Pod=nexus.pod
|
||||
Secret=database-password,type=env,target=POSTGRES_PASSWORD
|
||||
StartWithPod=true
|
||||
Timezone=Europe/Zurich
|
||||
Volume=vikunja-database.volume:/var/lib/postgresql
|
||||
Volume=/var/mnt/nas/containers/vikunja/storage/database-backup:/backup
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user