commit 90525b38e3a71a97140066ea57b88a45da070bbf Author: Tim Bendt Date: Wed Dec 10 13:59:09 2025 -0500 first commit diff --git a/stack.yml b/stack.yml new file mode 100644 index 0000000..9aff22b --- /dev/null +++ b/stack.yml @@ -0,0 +1,86 @@ +version: '3.3' +services: + immich-database: + image: tensorchord/pgvecto-rs:pg14-v0.2.0 + environment: + POSTGRES_DB: immich + POSTGRES_PASSWORD: wuwwxyxg49s0zdvl + POSTGRES_USER: immich + volumes: + - immich-postgres:/var/lib/postgresql/data + networks: + - dokploy-network + logging: + driver: json-file + deploy: + restart_policy: + condition: on-failure + immich-machine-learning: + image: ghcr.io/immich-app/immich-machine-learning:v1.106.4 + volumes: + - immich-model-cache:/cache + networks: + - dokploy-network + logging: + driver: json-file + deploy: + restart_policy: + condition: on-failure + immich-redis: + image: redis:6.2-alpine + volumes: + - immich-redis-data:/data + networks: + - dokploy-network + logging: + driver: json-file + deploy: + restart_policy: + condition: on-failure + immich-server: + image: ghcr.io/immich-app/immich-server:v2.3.0 + environment: + DB_DATABASE_NAME: immich + DB_HOSTNAME: immich-database + DB_PASSWORD: wuwwxyxg49s0zdvl + DB_PORT: '5432' + DB_USERNAME: immich + FRONT_BASE_URL: https://immich.bendtstudio.com + REDIS_DBINDEX: '0' + REDIS_HOSTNAME: immich-redis + REDIS_PORT: '6379' + SERVER_URL: https://immich.bendtstudio.com + volumes: + - /mnt/synology-data/immich:/usr/src/app/upload + - /mnt/photos:/var/photos + - /etc/localtime:/etc/localtime:ro + networks: + - dokploy-network + logging: + driver: json-file + deploy: + labels: + traefik.docker.network: dokploy-network + traefik.enable: 'true' + traefik.http.routers.immich.rule: Host(`immich.bendtstudio.com`) + traefik.http.routers.syncthing.entrypoints: websecure + raefik.http.routers.syncthing.tls.certresolver: letsencrypt + traefik.http.services.immich.loadbalancer.server.port: '2283' + restart_policy: + condition: on-failure + placement: + constraints: + - node.labels.type == nas +networks: + dokploy-network: + external: true + +volumes: + immich-redis-data: + driver: local + immich-postgres: + driver: local + immich-model-cache: + driver: local + +