9 Commits

9 changed files with 63 additions and 22 deletions
+20
View File
@@ -0,0 +1,20 @@
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/storage/appdata/immich/library
# The location where your database files are stored
DB_DATA_LOCATION=/mnt/storage/appdata/immich/postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=America/New_York
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.136.0
# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=postgres
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
+3 -7
View File
@@ -50,20 +50,16 @@ services:
database:
container_name: immich_postgres
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
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:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname='${DB_DATABASE_NAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
interval: 5m
start_interval: 30s
start_period: 5m
command: ["postgres", "-c" ,"shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"]
restart: always
volumes:
+11
View File
@@ -0,0 +1,11 @@
services:
jenkins:
image: jenkins/jenkins:lts
ports:
- "9080:8080"
volumes:
- jenkins_home:/var/jenkins_home
ssh-agent:
image: jenkins/ssh-agent
volumes:
jenkins_home:
+11
View File
@@ -0,0 +1,11 @@
services:
matter-server:
container_name: matter-server
image: ghcr.io/home-assistant-libs/python-matter-server:stable
restart: unless-stopped
security_opt:
- apparmor=unconfined
volumes:
- ./data:/data
- /run/dbus:/run/dbus:ro
network_mode: host
+2 -2
View File
@@ -15,8 +15,8 @@ services:
- "52199:52199"
- "1901:1900/udp"
volumes:
- ./config:/config:rw
- ./log:/log:rw
- /mnt/storage/appdata/mc/config:/config:rw
- /mnt/storage/appdata/mc/log:/log:rw
- /etc/localtime:/etc/localtime:ro
- /mnt/cygnus/Music/Common:/data/music:rw
+2 -10
View File
@@ -1,16 +1,10 @@
version: '3'
#volumes:
# nextcloud:
# db:
services:
db:
image: mariadb:10.6
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- /mnt/storage/appdata/nextcloud1/mysql:/var/lib/mysql
- /mnt/storage/appdata/nextcloud/mysql:/var/lib/mysql
networks:
- default
environment:
@@ -26,10 +20,8 @@ services:
restart: always
ports:
- 8080:80
# links:
# - db
volumes:
- /mnt/storage/appdata/nextcloud1/www/html:/var/www/html
- /mnt/storage/appdata/nextcloud/www/html:/var/www/html
networks:
- default
environment:
+1 -3
View File
@@ -1,5 +1,3 @@
version: '3'
services:
portainer:
image: portainer/portainer:latest
@@ -12,7 +10,7 @@ services:
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data:/data
- /mnt/storage/appdata/portainer/data:/data
ports:
- 9000:9000
labels:
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/bash
containersdirectory="/home/cjones/workspace/containers"
dockerdirectory="/opt/docker"
if [ $# -eq 1 ]; then
sourcedirectory="$containersdirectory/$1"
echo Deploying $1
cp -R $sourcedirectory $dockerdirectory
echo Deployed
ls $dockerdirectory/$1
else
echo Incorrect argument
fi
+1
View File
@@ -0,0 +1 @@
VAULTWARDEN_ADMIN_TOKEN='mfLzuPlsXDqtIwTGSN/oZ3cgmFKWXY/zv+hO94gtqsJeHdl7+O+tJeMZrTzQNMfI'