Use map for env variables

This commit is contained in:
Colin Hebert
2024-01-02 11:42:55 +01:00
parent ee7935bcad
commit f1abc14b68

View File

@@ -6,10 +6,10 @@ services:
image: ghcr.io/immich-app/immich-server:release image: ghcr.io/immich-app/immich-server:release
command: [ "start.sh", "immich" ] command: [ "start.sh", "immich" ]
environment: environment:
- DB_HOSTNAME: immich_postgres DB_HOSTNAME: immich_postgres
- DB_USERNAME: postgres DB_USERNAME: postgres
- DB_PASSWORD: postgres DB_PASSWORD: postgres
- DB_DATABASE_NAME: immich DB_DATABASE_NAME: immich
networks: networks:
- reverse-proxy - reverse-proxy
- default - default