services: immich-app-base: image: busybox immich-server: extends: service: immich-app-base profiles: !reset [] image: immich-server-dev:latest build: target: dev-container-mobile environment: - IMMICH_SERVER_URL=http://127.0.0.1:2283/ volumes: - ${UPLOAD_LOCATION:-upload-devcontainer-volume}${UPLOAD_LOCATION:+/photos}:/data - /etc/localtime:/etc/localtime:ro immich-web: env_file: !reset [] immich-machine-learning: env_file: !reset [] database: env_file: !reset [] environment: !override POSTGRES_PASSWORD: ${DB_PASSWORD-postgres} POSTGRES_USER: ${DB_USERNAME-postgres} POSTGRES_DB: ${DB_DATABASE_NAME-immich} POSTGRES_INITDB_ARGS: '--data-checksums' POSTGRES_HOST_AUTH_METHOD: md5 volumes: - ${UPLOAD_LOCATION:-postgres-devcontainer-volume}${UPLOAD_LOCATION:+/postgres}:/var/lib/postgresql/data redis: env_file: !reset [] volumes: upload-devcontainer-volume: postgres-devcontainer-volume: