init commit
This commit is contained in:
24
.env.example
Normal file
24
.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
#############################
|
||||
# Vaultwarden variables
|
||||
#############################
|
||||
VAULTWARDEN_DATA_LOCATION=/data/vaultwarden
|
||||
VAULTWARDEN_ADMIN_TOKEN=admin
|
||||
|
||||
#############################
|
||||
# Gitea variables
|
||||
#############################
|
||||
GITEA_DATA_LOCATION=/data/gitea/data
|
||||
GITEA_CONFIG_LOCATION=/data/gitea/config
|
||||
|
||||
#############################
|
||||
# Immich variables
|
||||
#############################
|
||||
UPLOAD_LOCATION=/data/immich
|
||||
IMMICH_VERSION=release
|
||||
|
||||
DB_HOSTNAME=immich_postgres
|
||||
DB_USERNAME=postgres
|
||||
DB_PASSWORD=password
|
||||
DB_DATABASE_NAME=immich
|
||||
|
||||
REDIS_HOSTNAME=immich_redis
|
||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.env
|
||||
.idea
|
||||
88
docker-compose.yml
Normal file
88
docker-compose.yml
Normal file
@@ -0,0 +1,88 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user