rottenraptor-server: get immich working again
This commit is contained in:
parent
932ae43621
commit
46381c63df
2 changed files with 15 additions and 14 deletions
|
@ -9,24 +9,29 @@ defaults = {
|
||||||
'image': 'ghcr.io/imagegenius/immich:latest',
|
'image': 'ghcr.io/imagegenius/immich:latest',
|
||||||
'environment': {
|
'environment': {
|
||||||
'DB_DATABASE_NAME': 'immich',
|
'DB_DATABASE_NAME': 'immich',
|
||||||
'DB_HOSTNAME': 'host.docker.internal',
|
'DB_HOSTNAME': 'immich-postgresql',
|
||||||
'DB_PASSWORD': repo.vault.password_for(f'{node.name} postgresql immich'),
|
'DB_PASSWORD': repo.vault.password_for(f'{node.name} postgresql immich'),
|
||||||
'DB_USERNAME': 'immich',
|
'DB_USERNAME': 'immich',
|
||||||
'REDIS_HOSTNAME': 'host.docker.internal',
|
'REDIS_HOSTNAME': 'immich-redis',
|
||||||
},
|
},
|
||||||
'volumes': {
|
'volumes': {
|
||||||
'config': '/config',
|
'config': '/config',
|
||||||
'libraries': '/libraries',
|
'libraries': '/libraries',
|
||||||
'photos': '/photos',
|
'photos': '/photos',
|
||||||
},
|
},
|
||||||
|
'ports': {
|
||||||
|
'8080': '8080',
|
||||||
|
},
|
||||||
'needs': {
|
'needs': {
|
||||||
'svc_systemd:docker-postgresql14',
|
'svc_systemd:docker-immich-postgresql',
|
||||||
|
'svc_systemd:docker-immich-redis',
|
||||||
},
|
},
|
||||||
'requires': {
|
'requires': {
|
||||||
'docker-postgresql14.service',
|
'docker-immich-postgresql.service',
|
||||||
|
'docker-immich-redis.service',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'postgresql14': {
|
'immich-postgresql': {
|
||||||
'image': 'tensorchord/pgvecto-rs:pg14-v0.2.0',
|
'image': 'tensorchord/pgvecto-rs:pg14-v0.2.0',
|
||||||
'environment': {
|
'environment': {
|
||||||
'POSTGRES_PASSWORD': repo.vault.password_for(f'{node.name} postgresql immich'),
|
'POSTGRES_PASSWORD': repo.vault.password_for(f'{node.name} postgresql immich'),
|
||||||
|
@ -37,6 +42,9 @@ defaults = {
|
||||||
'database': '/var/lib/postgresql/data',
|
'database': '/var/lib/postgresql/data',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'immich-redis': {
|
||||||
|
'image': 'docker.io/redis:6.2-alpine',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'nginx': {
|
'nginx': {
|
||||||
|
@ -46,19 +54,12 @@ defaults = {
|
||||||
'/': {
|
'/': {
|
||||||
'target': 'http://127.0.0.1:8080/',
|
'target': 'http://127.0.0.1:8080/',
|
||||||
'websockets': True,
|
'websockets': True,
|
||||||
'max_body_size': '500m',
|
'max_body_size': '5000m',
|
||||||
},
|
},
|
||||||
#'/api/socket.io/': {
|
|
||||||
# 'target': 'http://127.0.0.1:8081/',
|
|
||||||
# 'websockets': True,
|
|
||||||
#},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'redis': {
|
|
||||||
'bind': '0.0.0.0',
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ groups = [
|
||||||
]
|
]
|
||||||
bundles = [
|
bundles = [
|
||||||
"docker-engine",
|
"docker-engine",
|
||||||
# "docker-immich",
|
"docker-immich",
|
||||||
"ipmitool",
|
"ipmitool",
|
||||||
"redis",
|
"redis",
|
||||||
"smartd",
|
"smartd",
|
||||||
|
|
Loading…
Add table
Reference in a new issue