feat: Updates networks

This commit is contained in:
2025-03-20 11:59:28 -04:00
parent 81c27e4988
commit b3f10ebd3d

View File

@@ -28,6 +28,9 @@ services:
- redis
- database
restart: unless-stopped
networks:
- proxy
- backend
healthcheck:
disable: false
@@ -44,6 +47,8 @@ services:
env_file:
- .env
restart: unless-stopped
networks:
- backend
healthcheck:
disable: false
@@ -52,6 +57,8 @@ services:
image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
healthcheck:
test: redis-cli ping || exit 1
networks:
- backend
restart: unless-stopped
database:
@@ -84,6 +91,14 @@ services:
-c shared_buffers=512MB
-c wal_compression=on
restart: unless-stopped
networks:
- backend
networks:
proxy:
external: true
backend:
external: true
volumes:
model-cache: {}
@@ -99,9 +114,5 @@ volumes:
immich-database:
driver: local
# driver_opts:
# type: nfs
# o: "addr=${NFS_URL},soft,nolock,rw"
# device: "${DB_DATA_LOCATION}"
labels:
dev.housh.description: "Immich database volume."