ops: use external immich_default network

Immich's Compose creates the external network as immich_default, not
immich-net. Rename the external network reference so portal-app and
the preflight ops service attach to the existing network instead of
failing with 'network immich-net declared as external, but could not
be found'.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude committed 2026-08-10 23:25:25 +02:00
1 parent 013036ea81
commit 5ebde42aba
1 file changed
+3 -3
+3 -3
View File
@@ -49,7 +49,7 @@ services:
condition: service_healthy condition: service_healthy
networks: networks:
- portal-internal - portal-internal
- immich-net - immich_default
# One-shot: apply Drizzle migrations. Runs in the builder stage (which has the # One-shot: apply Drizzle migrations. Runs in the builder stage (which has the
# source + drizzle-kit) on the internal network so it can reach portal-db. # source + drizzle-kit) on the internal network so it can reach portal-db.
@@ -99,7 +99,7 @@ services:
condition: service_healthy condition: service_healthy
networks: networks:
- portal-internal - portal-internal
- immich-net - immich_default
profiles: ["ops"] profiles: ["ops"]
volumes: volumes:
@@ -108,5 +108,5 @@ volumes:
networks: networks:
portal-internal: portal-internal:
internal: true internal: true
immich-net: immich_default:
external: true external: true