docker DNS

This commit is contained in:
tavo 2025-08-02 14:45:19 -06:00
parent 892da04bd4
commit 2891e813db

View file

@ -21,7 +21,6 @@ services:
immich-server: immich-server:
container_name: immich_server container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
network_mode: service:ts-immich
# extends: # extends:
# file: hwaccel.transcoding.yml # file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
@ -31,13 +30,13 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- immich.env - immich.env
#ports: ports:
# - '2283:2283' - '2283:2283'
depends_on: depends_on:
- redis - redis
- database - database
- ts-immich - ts-immich
restart: always restart: on-failure:2
healthcheck: healthcheck:
disable: false disable: false
immich-machine-learning: immich-machine-learning:
@ -92,7 +91,7 @@ configs:
"$${TS_CERT_DOMAIN}:443": { "$${TS_CERT_DOMAIN}:443": {
"Handlers": { "Handlers": {
"/": { "/": {
"Proxy": "http://127.0.0.1:2283" "Proxy": "http://immich-server:2283"
} }
} }
} }