network
This commit is contained in:
17
stack.yml
17
stack.yml
@@ -7,8 +7,6 @@ services:
|
|||||||
POSTGRES_USER: immich
|
POSTGRES_USER: immich
|
||||||
volumes:
|
volumes:
|
||||||
- immich-postgres:/var/lib/postgresql/data
|
- immich-postgres:/var/lib/postgresql/data
|
||||||
networks:
|
|
||||||
- dokploy-network
|
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -16,8 +14,6 @@ services:
|
|||||||
image: ghcr.io/immich-app/immich-machine-learning:v1.106.4
|
image: ghcr.io/immich-app/immich-machine-learning:v1.106.4
|
||||||
volumes:
|
volumes:
|
||||||
- immich-model-cache:/cache
|
- immich-model-cache:/cache
|
||||||
networks:
|
|
||||||
- dokploy-network
|
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -25,8 +21,6 @@ services:
|
|||||||
image: redis:6.2-alpine
|
image: redis:6.2-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- immich-redis-data:/data
|
- immich-redis-data:/data
|
||||||
networks:
|
|
||||||
- dokploy-network
|
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -47,18 +41,7 @@ services:
|
|||||||
- /mnt/synology-data/immich:/usr/src/app/upload
|
- /mnt/synology-data/immich:/usr/src/app/upload
|
||||||
- /mnt/photos:/var/photos
|
- /mnt/photos:/var/photos
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
networks:
|
|
||||||
- dokploy-network
|
|
||||||
logging:
|
|
||||||
driver: json-file
|
|
||||||
deploy:
|
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:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
placement:
|
placement:
|
||||||
|
|||||||
Reference in New Issue
Block a user