fix(dc): correctly expose docker port

This commit is contained in:
Radu C. Martin 2024-10-16 09:34:43 +02:00
parent 625753416a
commit 9cab2998a1

View file

@ -4,16 +4,14 @@ services:
immich-server: immich-server:
container_name: immich_server container_name: immich_server
image: ghcr.io/immich-app/immich-server:v1.118.1@sha256:c53300f717f9f82e645c198818a1f7155410eb4041961d09b79585ea3b4934dc image: ghcr.io/immich-app/immich-server:v1.118.1@sha256:c53300f717f9f82e645c198818a1f7155410eb4041961d09b79585ea3b4934dc
ports:
- 2283:2283
volumes: volumes:
- /mnt/truenas-services/immich:/usr/src/app/upload - /mnt/truenas-services/immich:/usr/src/app/upload
- /mnt/truenas-services/immich-external:/mnt/external - /mnt/truenas-services/immich-external:/mnt/external
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- stack.env - stack.env
environment:
- LETSENCRYPT_HOST=${IMMICH_LETSENCRYPT_HOST:?}
- VIRTUAL_HOST=${IMMICH_LETSENCRYPT_HOST:?}
- VIRTUAL_PORT=${IMMICH_PORT:-2283}
depends_on: depends_on:
- redis - redis
- database - database