88 lines
2.6 KiB
YAML
88 lines
2.6 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
###################################################################################################
|
|
vaultwarden:
|
|
container_name: vaultwarden
|
|
image: vaultwarden/server:latest
|
|
restart: always
|
|
volumes:
|
|
- ${VAULTWARDEN_DATA_LOCATION}:/data/
|
|
environment:
|
|
- ADMIN_TOKEN=${VAULTWARDEN_ADMIN_TOKEN}
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "8080:80"
|
|
###################################################################################################
|
|
gitea:
|
|
container_name: gitea
|
|
image: gitea/gitea:latest-rootless
|
|
restart: always
|
|
volumes:
|
|
- ${GITEA_DATA_LOCATION}:/var/lib/gitea
|
|
- ${GITEA_CONFIG_LOCATION}:/etc/gitea
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "3000:3000"
|
|
- "2222:2222"
|
|
###################################################################################################
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
|
command: [ "start.sh", "immich" ]
|
|
volumes:
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
- /etc/localtime:/etc/localtime:ro
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "2283:3001"
|
|
depends_on:
|
|
- immich-redis
|
|
- immich-database
|
|
restart: always
|
|
immich-microservices:
|
|
container_name: immich_microservices
|
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
|
command: [ "start.sh", "microservices" ]
|
|
volumes:
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
- /etc/localtime:/etc/localtime:ro
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
- immich-redis
|
|
- immich-database
|
|
restart: always
|
|
immich-machine-learning:
|
|
container_name: immich_machine_learning
|
|
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
|
volumes:
|
|
- immich-model-cache:/cache
|
|
env_file:
|
|
- .env
|
|
restart: always
|
|
immich-redis:
|
|
container_name: immich_redis
|
|
image: redis:6.2-alpine@sha256:afb290a0a0d0b2bd7537b62ebff1eb84d045c757c1c31ca2ca48c79536c0de82
|
|
restart: always
|
|
immich-database:
|
|
container_name: immich_postgres
|
|
image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
POSTGRES_USER: ${DB_USERNAME}
|
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
|
volumes:
|
|
- immich-pgdata:/var/lib/postgresql/data
|
|
restart: always
|
|
|
|
volumes:
|
|
immich-pgdata:
|
|
immich-model-cache: |