immich
This commit is contained in:
@@ -52,7 +52,7 @@ services:
|
||||
# - node.hostname==odroid
|
||||
# - node.hostname==rudolf-T
|
||||
mode: replicated
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
healthcheck:
|
||||
start_interval: 2m
|
||||
disable: false
|
||||
@@ -72,6 +72,8 @@ services:
|
||||
|
||||
database:
|
||||
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
POSTGRES_PASSWORD: hFjkOuy57953Bf8F
|
||||
POSTGRES_USER: postgres
|
||||
@@ -95,6 +97,24 @@ services:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
|
||||
socat:
|
||||
image: alpine/socat
|
||||
command: TCP-LISTEN:5432,fork,reuseaddr TCP:database:5432
|
||||
ports:
|
||||
- "5432:5432"
|
||||
depends_on:
|
||||
- database
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname==odroid
|
||||
mode: replicated
|
||||
replicas: 0
|
||||
networks:
|
||||
default:
|
||||
nginx_ingress:
|
||||
|
||||
|
||||
|
||||
networks:
|
||||
nginx_ingress:
|
||||
|
||||
Reference in New Issue
Block a user