feat: Immich
This commit is contained in:
@@ -5,14 +5,6 @@ services:
|
||||
container_name: immich_server
|
||||
image: altran1502/immich-server:release
|
||||
entrypoint: [ "/bin/sh", "./start-server.sh" ]
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4'
|
||||
memory: 4096M
|
||||
reservations:
|
||||
cpus: '2'
|
||||
memory: 2048M
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
env_file:
|
||||
@@ -29,14 +21,6 @@ services:
|
||||
container_name: immich_microservices
|
||||
image: altran1502/immich-server:release
|
||||
entrypoint: [ "/bin/sh", "./start-microservices.sh" ]
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4'
|
||||
memory: 4096M
|
||||
reservations:
|
||||
cpus: '2'
|
||||
memory: 2048M
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
env_file:
|
||||
@@ -58,22 +42,14 @@ services:
|
||||
logging:
|
||||
driver: none
|
||||
volumes:
|
||||
- ${CONFIG_DIR}/docker/immich/tsdata:/data
|
||||
- /tsdata:/data
|
||||
|
||||
immich-machine-learning:
|
||||
container_name: immich_machine_learning
|
||||
image: altran1502/immich-machine-learning:release
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4'
|
||||
memory: 4096M
|
||||
reservations:
|
||||
cpus: '2'
|
||||
memory: 2048M
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- ${CONFIG_DIR}/docker/immich/cache:/cache
|
||||
- /cache:/cache
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
@@ -101,7 +77,7 @@ services:
|
||||
environment:
|
||||
PG_DATA: /var/lib/postgresql/data
|
||||
volumes:
|
||||
- ${CONFIG_DIR}/docker/immich/pgsql:/var/lib/postgresql/data
|
||||
- /pgsql:/var/lib/postgresql/data
|
||||
restart: always
|
||||
|
||||
immich-proxy:
|
||||
|
||||
Reference in New Issue
Block a user