Remove env_file references for Portainer compatibility

This commit is contained in:
root committed 2025-11-29 13:55:31 +01:00
1 parent 5871dba532
commit 68b7fc96f5
1 file changed
+6 -6
+6 -6
View File
@@ -7,8 +7,8 @@ services:
volumes: volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: #env_file:
- stack.env # - stack.env
ports: ports:
- 2283:3001 - 2283:3001
depends_on: depends_on:
@@ -23,8 +23,8 @@ services:
image: ghcr.io/immich-app/immich-machine-learning:release image: ghcr.io/immich-app/immich-machine-learning:release
volumes: volumes:
- model-cache:/cache - model-cache:/cache
env_file: #env_file:
- stack.env #- stack.env
restart: always restart: always
networks: networks:
- immich - immich
@@ -39,8 +39,8 @@ services:
database: database:
container_name: immich_postgres container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg14-v0.2.0 image: tensorchord/pgvecto-rs:pg14-v0.2.0
env_file: #env_file:
- stack.env #- stack.env
environment: environment:
POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME} POSTGRES_USER: ${DB_USERNAME}