Adds immich, puts redis/database on NVME, uses postgres for wallabag and nextcloud, adds backup services
This commit is contained in:
@@ -4,16 +4,20 @@ Description=Nextcloud database container
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
ContainerName=nextcloud-database
|
||||
Environment=MYSQL_DATABASE=nextcloud
|
||||
Environment=POSTGRES_DB=nextcloud
|
||||
Environment=POSTGRES_USER=nextcloud
|
||||
Environment=TZ=Europe/Zurich
|
||||
Image=docker.io/mariadb:latest
|
||||
HealthCmd=pg_isready -U nextcloud
|
||||
HealthInterval=30s
|
||||
HealthTimeout=10s
|
||||
HealthRetries=5
|
||||
Image=docker.io/postgres:18
|
||||
Pod=nextcloud.pod
|
||||
Secret=database-user,type=env,target=MYSQL_USER
|
||||
Secret=database-password,type=env,target=MYSQL_PASSWORD
|
||||
Secret=database-root-password,type=env,target=MYSQL_ROOT_PASSWORD
|
||||
Secret=database-password,type=env,target=POSTGRES_PASSWORD
|
||||
StartWithPod=true
|
||||
Timezone=Europe/Zurich
|
||||
Volume=nextcloud-database.volume:/var/lib/mysql
|
||||
Volume=nextcloud-database.volume:/var/lib/postgresql
|
||||
Volume=/var/mnt/nas/containers/nextcloud/storage/database-backup:/backup
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
@@ -1,7 +1,2 @@
|
||||
[Volume]
|
||||
Copy=true
|
||||
Device=/var/mnt/nas/containers/nextcloud/storage/database
|
||||
Driver=local
|
||||
Options=bind
|
||||
Type=none
|
||||
VolumeName=nextcloud-database
|
||||
|
||||
@@ -1,7 +1,2 @@
|
||||
[Volume]
|
||||
Copy=true
|
||||
Device=/var/mnt/nas/containers/nextcloud/storage/redis-data
|
||||
Driver=local
|
||||
Options=bind
|
||||
Type=none
|
||||
VolumeName=nextcloud-redis-data
|
||||
|
||||
Reference in New Issue
Block a user