Browse Source

revert to basic

master
Quildra 3 years ago
parent
commit
873818c338
  1. 58
      immich-docker-compose.yml

58
immich-docker-compose.yml

@ -6,13 +6,13 @@ services:
image: ghcr.io/immich-app/immich-server:release image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-server.sh"] entrypoint: ["/bin/sh", "./start-server.sh"]
volumes: volumes:
- /mnt/pokecenter/Media/Immich:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
depends_on: depends_on:
- redis - redis
- database - database
- typesense - typesense
ports:
- 3001:3001
restart: always restart: always
immich-microservices: immich-microservices:
@ -20,41 +20,43 @@ services:
image: ghcr.io/immich-app/immich-server:release image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"] entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes: volumes:
- /mnt/pokecenter/Media/Immich:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
depends_on: depends_on:
- redis - redis
- database - database
- typesense - typesense
ports:
- 3002:3002
restart: always restart: always
immich-machine-learning: immich-machine-learning:
container_name: immich_machine_learning container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:release image: ghcr.io/immich-app/immich-machine-learning:release
volumes: volumes:
- /mnt/pokecenter/Media/Immich:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
- /usr/docker_binds/immich/model-cache:/cache - model-cache:/cache
env_file:
- .env
restart: always restart: always
ports:
- 3003:3003
immich-web: immich-web:
container_name: immich_web container_name: immich_web
image: ghcr.io/immich-app/immich-web:release image: ghcr.io/immich-app/immich-web:release
entrypoint: ["/bin/sh", "./entrypoint.sh"] entrypoint: ["/bin/sh", "./entrypoint.sh"]
ports: env_file:
- 3000:3000 - .env
restart: always restart: always
typesense: typesense:
container_name: immich_typesense container_name: immich_typesense
image: typesense/typesense:0.24.0 image: typesense/typesense:0.24.0
environment: environment:
- TYPESENSE_API_KEY=Hw284ujpXNwLnVnt - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
- TYPESENSE_DATA_DIR=/data - TYPESENSE_DATA_DIR=/data
logging:
driver: none
volumes: volumes:
- /usr/docker_binds/immich/tsdata:/data - tsdata:/data
restart: always restart: always
redis: redis:
@ -65,25 +67,33 @@ services:
database: database:
container_name: immich_postgres container_name: immich_postgres
image: postgres:14 image: postgres:14
env_file:
- .env
environment: environment:
- POSTGRES_PASSWORD=47v83xHwqwg0XeMj POSTGRES_PASSWORD: ${DB_PASSWORD}
- POSTGRES_USER=Immich POSTGRES_USER: ${DB_USERNAME}
- POSTGRES_DB=Immich POSTGRES_DB: ${DB_DATABASE_NAME}
- PG_DATA=/var/lib/postgresql/data PG_DATA: /var/lib/postgresql/data
volumes: volumes:
- /usr/docker_binds/immich/pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
restart: always restart: always
immich-proxy: immich-proxy:
container_name: immich_proxy container_name: immich_proxy
image: ghcr.io/immich-app/immich-proxy:release image: ghcr.io/immich-app/immich-proxy:release
#environment: environment:
# Make sure these values get passed through from the env file # Make sure these values get passed through from the env file
#- IMMICH_WEB_URL #=http://immich-web:3000 - IMMICH_SERVER_URL
#- IMMICH_SERVER_URL #=http://immich-server:3001 - IMMICH_WEB_URL
#- IMMICH_MACHINE_LEARNING_URL #=http://immich-machine-learning:3003
ports: ports:
- 2283:8080 - 2283:8080
logging:
driver: none
depends_on: depends_on:
- immich-server - immich-server
restart: always restart: always
volumes:
pgdata:
model-cache:
tsdata:

Loading…
Cancel
Save