Compare commits
3 Commits
1bd8280b47
...
06a51eedc4
| Author | SHA1 | Date | |
|---|---|---|---|
| 06a51eedc4 | |||
| 2fae5bef3f | |||
| 0b110431fa |
7
backup/docker-compose.override.yml
Normal file
7
backup/docker-compose.override.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
borgmatic:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/borgmatic.png'
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
18
backup/docker-compose.yml
Normal file
18
backup/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
borgmatic:
|
||||
image: ghcr.io/borgmatic-collective/borgmatic:latest
|
||||
container_name: borgmatic
|
||||
volumes:
|
||||
- /mnt/user/nextcloud-data/tonitrus/files/documents/Schule:/mnt/source:ro # backup source
|
||||
- /mnt/remotes/10.0.0.50_home/Drive/backup-cube-test:/mnt/borg-repository # backup target
|
||||
- /mnt/user/appdata/borgmatic/borgmatic.d:/etc/borgmatic.d/ # borgmatic config file(s) + crontab.txt
|
||||
- /mnt/user/appdata/borgmatic/.config/borg:/root/.config/borg # config and keyfiles
|
||||
- /mnt/user/appdata/borgmatic/.ssh:/root/.ssh # ssh key for remote repositories
|
||||
- /mnt/user/appdata/borgmatic/.cache/borg:/root/.cache/borg # checksums used for deduplication
|
||||
- /mnt/user/appdata/borgmatic/.state/borgmatic:/root/.local/state/borgmatic # Here are the state files for periodic checks
|
||||
env_file:
|
||||
- .env
|
||||
labels:
|
||||
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/borgmatic.png"
|
||||
net.unraid.docker.shell: sh
|
||||
folder.view2: "Services"
|
||||
1
backup/name
Normal file
1
backup/name
Normal file
@@ -0,0 +1 @@
|
||||
backup
|
||||
1
immich/autostart
Normal file
1
immich/autostart
Normal file
@@ -0,0 +1 @@
|
||||
true
|
||||
25
immich/docker-compose.override.yml
Normal file
25
immich/docker-compose.override.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
immich-server:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/immich.png'
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
immich-machine-learning:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/immich.png'
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
redis:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/redis.png'
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
database:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/postgresql.png'
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
132
immich/docker-compose.yml
Normal file
132
immich/docker-compose.yml
Normal file
@@ -0,0 +1,132 @@
|
||||
#
|
||||
# WARNING: To install Immich, follow our guide: https://docs.immich.app/install/docker-compose
|
||||
#
|
||||
# Make sure to use the docker-compose.yml of the current release:
|
||||
#
|
||||
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
|
||||
#
|
||||
# The compose file on main may not be compatible with the latest release.
|
||||
|
||||
#name: immich
|
||||
|
||||
services:
|
||||
immich-server:
|
||||
container_name: immich_server
|
||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities:
|
||||
- gpu
|
||||
volumes:
|
||||
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
|
||||
- ${UPLOAD_LOCATION}:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "2283:2283"
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
- redis
|
||||
- database
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
networks:
|
||||
- default
|
||||
- pangolin
|
||||
labels:
|
||||
- net.unraid.docker.icon=https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/immich.png
|
||||
- net.unraid.docker.webui=https://${FULL_DOMAIN}
|
||||
- folder.view2=Services
|
||||
|
||||
- pangolin.public-resources.immich-server.name=${RESOURCE_NAME}
|
||||
- pangolin.public-resources.immich-server.full-domain=${FULL_DOMAIN}
|
||||
- pangolin.public-resources.immich-server.protocol=http
|
||||
|
||||
- pangolin.public-resources.immich-server.auth.sso-enabled=true
|
||||
- pangolin.public-resources.immich-server.auth.sso-roles[0]=Member
|
||||
|
||||
- pangolin.public-resources.immich-server.targets[0].method=http
|
||||
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.enabled=true
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.hostname=immich-server
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.port=2283
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.path=/
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.method=GET
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.status=200
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.interval=30
|
||||
- pangolin.public-resources.immich-server.targets[0].healthcheck.timeout=5
|
||||
|
||||
- pangolin.public-resources.immich-server.rules[0].action=allow
|
||||
- pangolin.public-resources.immich-server.rules[0].match=path
|
||||
- pangolin.public-resources.immich-server.rules[0].value=/api/*
|
||||
- pangolin.public-resources.immich-server.rules[1].action=allow
|
||||
- pangolin.public-resources.immich-server.rules[1].match=path
|
||||
- pangolin.public-resources.immich-server.rules[1].value=/.well-known/immich
|
||||
|
||||
immich-machine-learning:
|
||||
container_name: immich_machine_learning
|
||||
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
|
||||
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
||||
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}-cuda
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities:
|
||||
- gpu
|
||||
volumes:
|
||||
- model-cache:/cache
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
labels:
|
||||
- net.unraid.docker.icon=https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/immich.png
|
||||
- folder.view2=Services
|
||||
|
||||
redis:
|
||||
container_name: immich_redis
|
||||
image: docker.io/valkey/valkey:9@sha256:546304417feac0874c3dd576e0952c6bb8f06bb4093ea0c9ca303c73cf458f63
|
||||
healthcheck:
|
||||
test: redis-cli ping || exit 1
|
||||
restart: always
|
||||
labels:
|
||||
- net.unraid.docker.icon=https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/redis.png
|
||||
- folder.view2=Databases
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME}
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME}
|
||||
POSTGRES_INITDB_ARGS: '--data-checksums'
|
||||
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
|
||||
# DB_STORAGE_TYPE: 'HDD'
|
||||
volumes:
|
||||
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
|
||||
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
||||
shm_size: 128mb
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
labels:
|
||||
- net.unraid.docker.icon=https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/postgresql.png
|
||||
- folder.view2=Databases
|
||||
|
||||
volumes:
|
||||
model-cache:
|
||||
|
||||
networks:
|
||||
pangolin:
|
||||
name: pangolin_net
|
||||
external: true
|
||||
1
immich/name
Normal file
1
immich/name
Normal file
@@ -0,0 +1 @@
|
||||
immich
|
||||
@@ -11,3 +11,15 @@ services:
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/open-webui.png'
|
||||
net.unraid.docker.webui: 'https://ai.homecube.org/'
|
||||
net.unraid.docker.shell: ''
|
||||
blinko:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/blinko.png'
|
||||
net.unraid.docker.webui: 'https://${BLINKO_URL}'
|
||||
net.unraid.docker.shell: ''
|
||||
blinko-db:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/postgresql.png'
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
|
||||
@@ -35,3 +35,64 @@ services:
|
||||
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/open-webui.png"
|
||||
net.unraid.docker.webui: "https://ai.homecube.org/"
|
||||
folder.view2: "Services"
|
||||
|
||||
blinko-db:
|
||||
image: postgres:15-alpine
|
||||
container_name: blinko-db
|
||||
environment:
|
||||
POSTGRES_USER: blinko
|
||||
POSTGRES_PASSWORD: blinko
|
||||
POSTGRES_DB: blinko
|
||||
volumes:
|
||||
- /mnt/user/appdata/blinko/db:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U blinko"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
labels:
|
||||
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/postgresql.png"
|
||||
folder.view2: "Databases"
|
||||
|
||||
blinko:
|
||||
image: blinkospace/blinko:latest
|
||||
container_name: blinko
|
||||
networks:
|
||||
- default
|
||||
- pangolin
|
||||
depends_on:
|
||||
blinko-db:
|
||||
condition: service_healthy
|
||||
ollama:
|
||||
condition: service_started
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://blinko:blinko@blinko-db:5432/blinko
|
||||
- NEXTAUTH_SECRET=${BLINKO_AUTH_SECRET}
|
||||
- NEXTAUTH_URL=https://${BLINKO_URL}
|
||||
labels:
|
||||
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/blinko.png"
|
||||
net.unraid.docker.webui: "https://${BLINKO_URL}"
|
||||
folder.view2: "Services"
|
||||
|
||||
pangolin.public-resources.blinko.name: ${BLINKO_RESOURCE_NAME}
|
||||
pangolin.public-resources.blinko.full-domain: ${BLINKO_URL}
|
||||
pangolin.public-resources.blinko.protocol: http
|
||||
|
||||
pangolin.public-resources.blinko.auth.sso-enabled: true
|
||||
pangolin.public-resources.blinko.auth.sso-roles[0]: Member
|
||||
|
||||
pangolin.public-resources.blinko.targets[0].method: http
|
||||
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.enabled: true
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.hostname: blinko
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.port: 1111
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.path: /
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.method: GET
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.status: 200
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.interval: 30
|
||||
pangolin.public-resources.blinko.targets[0].healthcheck.timeout: 5
|
||||
|
||||
networks:
|
||||
pangolin:
|
||||
name: pangolin_net
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user