Nextcloud
services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest # Latest version channel of NextcloudAIO
init: true
restart: always # Will always restart after reboot
environment:
- APACHE_PORT=11000
- NEXTCLOUD_DATADIR=/srv/NextcloudAIO/ncdata
- NEXTCLOUD_MEMORY_LIMIT=2048M
- NEXTCLOUD_UPLOAD_LIMIT=10G
container_name: nextcloud-aio-mastercontainer
ports:
#- "80:80" # HTTP access
- "8080:8080" # Port Forwarding for Admin interface
#- "8443:8443" # HTTPS access
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
- /srv/NextcloudAIO:/mnt/ncdata
#- /var/run/docker.sock.raw:/var/run/docker.sock:ro # for mac
#network_mode: bridge # add to the same network as docker run would do
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
Vaultwarden
services:
vaultwarden:
image: vaultwarden/server:latest # Lates version channel of Vaultwarden
container_name: vaultwarden
restart: unless-stopped # This service will restart after reboot unless it was stopped
environment:
WEBSOCKET_ENABLED: 'true'
SIGNUPS_ALLOWED: 'false' # Disables signubs. Accounts must be maintained in the admin panel
CORS_ALLOW_CREDENTIALS: 'true' # Allows integration as iFrame
CORS_ORIGIN: 'https://your-custom-domain-origin/apps/external/1/'
DOMAIN: 'https://your-custom-domain/' # Replace with your actual domain
volumes:
- ./vw-data:/data
ports:
- 8888:80 # Port Mapping for Nginx Reverse Proxy Manager
Jellyfin
services:
jellyfin:
image: jellyfin/jellyfin:latest # Latest version channel of Jellyfin
container_name: jellyfin
network_mode: host # Use host networking for easier access to media files
volumes:
- jellyfin_config:/config
- jellyfin_cache:/cache
- /mnt/your-media-directory:/media # Change this to your media directory
restart: unless-stopped # Will restart after reboot unless stopped
volumes:
jellyfin_config:
jellyfin_cache:
Home Assistant
services:
homeassistant:
image: homeassistant/home-assistant:latest # Channel for latest version of Home Assistant
container_name: homeassistant
volumes:
- ./config:/config
- /run/dbus:/run/dbus:ro # Add this line for D-Bus access
environment:
- TZ=Europe/Berlin # Change this to your timezone
restart: unless-stopped
network_mode: bridge
ports:
- "8123:8123" # Expose Home Assistant on port 8123
devices:
- /dev/ttyUSB0:/dev/ttyUSB0 # Connecting to HA Connect ZTB-1
immich
#
# 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}
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
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
env_file:
- .env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
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}
# extends: # uncomment this section for hardware acceleration - see https://docs.immich.app/features/ml-hardware-acceleration
# 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
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
healthcheck:
disable: false
redis:
container_name: immich_redis
image: docker.io/valkey/valkey:9@sha256:546304417feac0874c3dd576e0952c6bb8f06bb4093ea0c9ca303c73cf458f63
healthcheck:
test: redis-cli ping || exit 1
restart: always
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
volumes:
model-cache:
Immich also provides a excellent installation instructions here.