96 lines
2.1 KiB
YAML
96 lines
2.1 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: altran1502/immich-server:release
|
|
entrypoint: ["/bin/sh", "./start-server.sh"]
|
|
volumes:
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
env_file:
|
|
- stack.env
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
|
|
immich-microservices:
|
|
container_name: immich_microservices
|
|
image: altran1502/immich-server:release
|
|
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
|
volumes:
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
env_file:
|
|
- stack.env
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
|
|
immich-machine-learning:
|
|
container_name: immich_machine_learning
|
|
image: altran1502/immich-machine-learning:release
|
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
|
volumes:
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
env_file:
|
|
- stack.env
|
|
depends_on:
|
|
- database
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
|
|
immich-web:
|
|
container_name: immich_web
|
|
image: altran1502/immich-web:release
|
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
|
|
redis:
|
|
container_name: immich_redis
|
|
image: redis:6.2
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
|
|
database:
|
|
container_name: immich_postgres
|
|
image: postgres:14
|
|
env_file:
|
|
- stack.env
|
|
environment:
|
|
PG_DATA: /var/lib/postgresql/data
|
|
volumes:
|
|
- /mnt/SSD500/docker/immich/pgsql:/var/lib/postgresql/data
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
|
|
immich-proxy:
|
|
container_name: immich_proxy
|
|
image: altran1502/immich-proxy:release
|
|
environment:
|
|
# Make sure these values get passed through from the env file
|
|
- IMMICH_SERVER_URL
|
|
- IMMICH_WEB_URL
|
|
logging:
|
|
driver: none
|
|
depends_on:
|
|
- immich-server
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
- reverse-proxy
|
|
|
|
networks:
|
|
internal:
|
|
internal: true
|
|
reverse-proxy:
|
|
external: true |