vi docker-compose.yml
- "3001"
restart: unless-stopped
immich_microservices:
image: ghcr.io/immich-app/immich-server:release
container_name: immich_microservices
command: ['start.sh', 'microservices']
env_file: [ .env ]
depends_on:
- database
- redis
volumes:
- /share/Container/immich/upload:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
immich_machine_learning:
image: ghcr.io/immich-app/immich-machine-learning:release
container_name: immich_machine_learning
env_file: [ .env ]
volumes:
- /share/Container/immich/app:/cache
restart: unless-stopped
redis:
image: redis:6.2-alpine
container_name: immich_redis
restart: unless-stopped
database:
image: tensorchord/pgvecto-rs:pg14-v0.2.0
container_name: immich_postgres
env_file: [ .env ]
environment:
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- /share/Container/immich/db:/var/lib/postgresql/data
restart: unless-stopped
immich_web:
image: ghcr.io/immich-app/immich-web:release
container_name: immich_web
env_file: [ .env ]
restart: unless-stopped
immich_proxy:
image: ghcr.io/immich-app/immich-proxy:release
container_name: immich_proxy
environment:
IMMICH_SERVER_URL: http://immich_server:3001
IMMICH_WEB_URL: http://immich_web:3000
depends_on:
- immich_server
- immich_web
ports:
- "2283:8080"
restart: unless-stopped