Add immich and pihole
This commit is contained in:
@@ -76,71 +76,97 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "22:22"
|
- "22:22"
|
||||||
|
|
||||||
# # --- Immich Server ---
|
# --- Immich Server ---
|
||||||
# immich-server: # immich-server:2283
|
immich-server: # immich-server:2283
|
||||||
# container_name: immich-server
|
ports:
|
||||||
# image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
- "2283:2283" # Local HTTP
|
||||||
# # extends:
|
container_name: immich-server
|
||||||
# # file: hwaccel.transcoding.yml
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
# # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
# extends:
|
||||||
# volumes:
|
# file: hwaccel.transcoding.yml
|
||||||
# # 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
|
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
||||||
# - ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
|
volumes:
|
||||||
# - /etc/localtime:/etc/localtime:ro
|
# 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
|
||||||
# env_file:
|
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
# - .env
|
- /etc/localtime:/etc/localtime:ro
|
||||||
# depends_on:
|
environment:
|
||||||
# - redis
|
- REDIS_HOSTNAME=immich-redis
|
||||||
# - database
|
- DB_HOSTNAME=immich-database
|
||||||
# restart: unless-stopped
|
env_file:
|
||||||
# healthcheck:
|
- .env
|
||||||
# disable: false
|
depends_on:
|
||||||
# networks:
|
- immich-redis
|
||||||
# - server-network
|
- immich-database
|
||||||
|
- immich-machine-learning
|
||||||
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
disable: false
|
||||||
|
networks:
|
||||||
|
- server-network
|
||||||
|
- immich-network
|
||||||
|
|
||||||
# immich-machine-learning:
|
immich-machine-learning:
|
||||||
# container_name: immich-machine-learning
|
container_name: immich-machine-learning
|
||||||
# # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
|
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
|
||||||
# # Example tag: ${IMMICH_VERSION:-release}-cuda
|
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
||||||
# image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
||||||
# # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
|
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
|
||||||
# # file: hwaccel.ml.yml
|
# file: hwaccel.ml.yml
|
||||||
# # service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
|
# service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
|
||||||
# volumes:
|
volumes:
|
||||||
# - model-cache:/cache
|
- model-cache:/cache
|
||||||
# env_file:
|
env_file:
|
||||||
# - .env
|
- .env
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
# healthcheck:
|
healthcheck:
|
||||||
# disable: false
|
disable: false
|
||||||
# networks:
|
networks:
|
||||||
# - server-network
|
- immich-network
|
||||||
|
|
||||||
# redis:
|
immich-redis:
|
||||||
# container_name: immich-redis
|
container_name: immich-redis
|
||||||
# image: docker.io/valkey/valkey:8-bookworm@sha256:fec42f399876eb6faf9e008570597741c87ff7662a54185593e74b09ce83d177
|
image: docker.io/valkey/valkey:8-bookworm@sha256:fec42f399876eb6faf9e008570597741c87ff7662a54185593e74b09ce83d177
|
||||||
# healthcheck:
|
healthcheck:
|
||||||
# test: redis-cli ping || exit 1
|
test: redis-cli ping || exit 1
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
# networks:
|
networks:
|
||||||
# - server-network
|
- immich-network
|
||||||
|
|
||||||
# database:
|
immich-database:
|
||||||
# container_name: immich-postgres
|
container_name: immich-database
|
||||||
# image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
|
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
|
||||||
# environment:
|
environment:
|
||||||
# POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD}
|
POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD}
|
||||||
# POSTGRES_USER: ${IMMICH_DB_USERNAME}
|
POSTGRES_USER: ${IMMICH_DB_USERNAME}
|
||||||
# POSTGRES_DB: ${IMMICH_DB_DATABASE_NAME}
|
POSTGRES_DB: ${IMMICH_DB_DATABASE_NAME}
|
||||||
# POSTGRES_INITDB_ARGS: "--data-checksums"
|
POSTGRES_INITDB_ARGS: "--data-checksums"
|
||||||
# # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
|
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
|
||||||
# B_STORAGE_TYPE: "HDD"
|
B_STORAGE_TYPE: "HDD"
|
||||||
# volumes:
|
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
|
# 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
|
||||||
# - ${IMMICH_DB_DATA_LOCATION}:/var/lib/postgresql/data
|
- ${IMMICH_DB_DATA_LOCATION}:/var/lib/postgresql/data
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
# networks:
|
networks:
|
||||||
# - server-network
|
- immich-network
|
||||||
|
|
||||||
|
# --- Pi-hole ---
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
ports:
|
||||||
|
# DNS Ports
|
||||||
|
- "53:53/tcp"
|
||||||
|
- "53:53/udp"
|
||||||
|
# Default HTTP Port
|
||||||
|
- "2100:80/tcp"
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- "${PIHOLE}:/etc/pihole"
|
||||||
|
cap_add:
|
||||||
|
# Optional, if Pi-hole should get some more processing time
|
||||||
|
- SYS_NICE
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
# # --- Home Assistant ---
|
# # --- Home Assistant ---
|
||||||
# homeassistant:
|
# homeassistant:
|
||||||
@@ -238,25 +264,6 @@ services:
|
|||||||
# - ${WHISPER_DATA}:/data
|
# - ${WHISPER_DATA}:/data
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
||||||
# # --- Pi-hole ---
|
|
||||||
# # pihole:
|
|
||||||
# # container_name: pihole
|
|
||||||
# # image: pihole/pihole:latest
|
|
||||||
# # ports:
|
|
||||||
# # # DNS Ports
|
|
||||||
# # - "53:53/tcp"
|
|
||||||
# # - "53:53/udp"
|
|
||||||
# # # Default HTTP Port
|
|
||||||
# # - "2100:80/tcp"
|
|
||||||
# # - "2101:443/tcp"
|
|
||||||
# # env_file:
|
|
||||||
# # - .env
|
|
||||||
# # volumes:
|
|
||||||
# # - "${PIHOLE}:/etc/pihole"
|
|
||||||
# # cap_add:
|
|
||||||
# # # Optional, if Pi-hole should get some more processing time
|
|
||||||
# # - SYS_NICE
|
|
||||||
# # restart: unless-stopped
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -307,5 +314,7 @@ networks:
|
|||||||
driver: bridge
|
driver: bridge
|
||||||
nextcloud-network:
|
nextcloud-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
immich-network:
|
||||||
|
driver: bridge
|
||||||
homeassistant-network:
|
homeassistant-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user