IMMICH_CONFIG_FILE
This commit is contained in:
Mike Phares 2025-03-02 22:25:20 -07:00
parent 6c9fa8cfaa
commit 9d0a142419
10 changed files with 61 additions and 11 deletions

View File

@ -0,0 +1,19 @@
server {
ssl_certificate /home/podman/wild-phares/fullchain.cer;
ssl_certificate_key /home/podman/wild-phares/phares.duckdns.org.key;
ssl_protocols TLSv1.2 TLSv1.3;
listen 443 ssl http2;
server_name ncdu.phares.duckdns.org;
client_max_body_size 5000m;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://192.168.11.2:5033/;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-NginX-Proxy true;
proxy_http_version 1.1;
proxy_read_timeout 43200000;
}
}

View File

@ -32,6 +32,7 @@ include /etc/nginx/include/immich-to-slideshow.conf; # https://immich-to-slidesh
include /etc/nginx/include/immich.conf; # https://immich.phares.duckdns.org # http:3001
include /etc/nginx/include/kanbn-to-quartz.conf; # https://kanbn-to-quartz.phares.duckdns.org # http:5024
include /etc/nginx/include/kuma.conf; # https://kuma.phares.duckdns.org # https:3004
include /etc/nginx/include/ncdu.conf; # https://ncdu.phares.duckdns.org # https:5033
include /etc/nginx/include/original-to-deterministic-hash-code.conf; # https://original-to-deterministic.phares.duckdns.org # http:5025
include /etc/nginx/include/pgadmin.conf; # https://pgadmin.phares.duckdns.org # https:5007
include /etc/nginx/include/phares.conf; # https://phares.duckdns.org # /var/www/html-nginx

View File

@ -54,7 +54,7 @@ Environment="MAIL_MAILER=log"
Environment="MAIL_HOST=smtp.centurylink.net"
Environment="MAIL_PORT=587"
Environment="MAIL_USERNAME=phares@centurylink.net"
Environment="MAIL_PASSWORD=Q7rOkv6#YdLCx4SBvMIAw"
Environment="MAIL_PASSWORD=RN9iPi5Ej#gRgLgiBTkb"
Environment="MAIL_ENCRYPTION=null"
Environment="MAIL_FROM_NAME=Mik Phares"
Environment="MAIL_FROM_ADDRESS=noreply@phares.duckdns.org"

View File

@ -17,7 +17,7 @@ Environment="AUTHENTIK_SECRET_KEY=mlZ57mWthun9b8SPaS7Ptl0bBQX4OvyRanbqdQ+5e/k="
# Environment="AUTHENTIK_EMAIL__HOST=smtp.centurylink.net"
# Environment="AUTHENTIK_EMAIL__PORT=587"
# Environment="AUTHENTIK_EMAIL__USERNAME=phares@centurylink.net"
# Environment="AUTHENTIK_EMAIL__PASSWORD=Q7rOkv6#YdLCx4SBvMIAw"
# Environment="AUTHENTIK_EMAIL__PASSWORD=RN9iPi5Ej#gRgLgiBTkb"
# Environment="AUTHENTIK_EMAIL__USE_TLS=false"
# Environment="AUTHENTIK_EMAIL__USE_SSL=false"
# Environment="AUTHENTIK_EMAIL__TIMEOUT=10"

View File

@ -17,7 +17,7 @@ Environment="AUTHENTIK_SECRET_KEY=QvqdN5Pn4piWcoof1yPDa0FcaGnOL1gHAiSImJjEGZl6py
# Environment="AUTHENTIK_EMAIL__HOST=smtp.centurylink.net"
# Environment="AUTHENTIK_EMAIL__PORT=587"
# Environment="AUTHENTIK_EMAIL__USERNAME=phares@centurylink.net"
# Environment="AUTHENTIK_EMAIL__PASSWORD=Q7rOkv6#YdLCx4SBvMIAw"
# Environment="AUTHENTIK_EMAIL__PASSWORD=RN9iPi5Ej#gRgLgiBTkb"
# Environment="AUTHENTIK_EMAIL__USE_TLS=false"
# Environment="AUTHENTIK_EMAIL__USE_SSL=false"
# Environment="AUTHENTIK_EMAIL__TIMEOUT=10"

View File

@ -3,7 +3,7 @@ AutoUpdate=registry
ContainerName=immich-kiosk
Environment="TZ=America/Phoenix"
# Required settings
Environment="KIOSK_IMMICH_API_KEY=fLJoRERkcmFuSviMaAfsuINmvyXLFKu9HIICXP8I"
Environment="KIOSK_IMMICH_API_KEY=zexyL8Xb6pqPN171aJbwOGCbXoxkXrGTllN85o520I"
Environment="KIOSK_IMMICH_URL=http://192.168.11.2:3001"
# Clock
Environment="KIOSK_SHOW_TIME=true"

View File

@ -5,6 +5,7 @@ Environment="DB_DATABASE_NAME=immich"
Environment="DB_HOSTNAME=192.168.11.2"
Environment="DB_PASSWORD=postgres"
Environment="DB_USERNAME=postgres"
Environment="IMMICH_CONFIG_FILE=/usr/src/app/config/immich-config.json"
Environment="REDIS_HOSTNAME=192.168.11.2"
Image=ghcr.io/immich-app/immich-server:release
# Network=immich.network
@ -14,7 +15,8 @@ Volume=/etc/localtime:/etc/localtime:ro
Volume=immich-server-upload.volume:/usr/src/app/upload:Z
# Volume=immich-server-external.volume:/usr/src/app/external:Z
Volume=/mnt/free-file-sync/still:/usr/src/app/external/still:Z
Volume=/mnt/free-file-sync/moving:/usr/src/app/external/moving:Z
# Volume=/mnt/free-file-sync/moving:/usr/src/app/external/moving:Z
Volume=/home/podman/immich/immich-config.json:/usr/src/app/config/immich-config.json:ro
[Service]
Restart=no
@ -38,4 +40,4 @@ WantedBy=multi-user.target default.target
# systemctl --user disable immich-server
# podman exec -ti immich-server /bin/sh
# podman exec -ti immich-server /bin/bash
# Environment="DB_HOST=192.168.11.2"
# Environment="DB_HOST=192.168.11.2"

View File

@ -0,0 +1,26 @@
[Container]
ContainerName=ncdu-server
Environment="NCDU_WEB_VIEWER_SCAN_FROM=dump"
Environment="NCDU_WEB_VIEWER_READONLY=yes"
Image=docker.io/abesesr/ncdu-web-viewer:latest
PublishPort=5033:3000
Volume=/etc/localtime:/etc/localtime:ro
Volume=/etc/timezone:/etc/timezone:ro
Volume=/home/podman/ncdu.json:/ncdu-dump.json:ro
[Service]
Restart=no
[Install]
WantedBy=multi-user.target default.target
# podman pull docker.io/abesesr/ncdu-web-viewer:latest
# systemctl --user daemon-reload
# systemctl --user start ncdu-server
# systemctl --user status ncdu-server --lines=999
# journalctl -fu ncdu-server.service
# podman logs ncdu-server
# systemctl --user stop ncdu-server
# systemctl --user disable ncdu-server
# podman exec -ti ncdu-server /bin/sh
# podman exec -ti ncdu-server /bin/bash

View File

@ -1,5 +1,5 @@
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.hZ90WN/crontab installed on Mon Feb 17 10:11:58 2025)
# (/tmp/crontab.0LhYAc/crontab installed on Sat Mar 1 21:49:18 2025)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.35buNM/crontab installed on Tue Dec 3 13:24:22 2024)
@ -17,7 +17,7 @@
#
22 11 * * * podman volume export systemd-baikal-server-config --output /home/podman/cron-backup/phares-baikal-server-config-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
23 11 * * * podman volume export systemd-gitea-server-config --output /home/podman/cron-backup/phares-gitea-server-config-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
24 11 23 * * podman volume export systemd-immich-server-upload --output /home/podman/cron-backup/phares-immich-server-upload-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
## 24 11 23 * * podman volume export systemd-immich-server-upload --output /home/podman/cron-backup/phares-immich-server-upload-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
# 25 11 * * * podman volume export systemd-mattermost-server-bleve --output /home/podman/cron-backup/phares-mattermost-server-bleve-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
# 26 11 * * * podman volume export systemd-mattermost-server-client-plugins --output /home/podman/cron-backup/phares-mattermost-server-client-plugins-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
# 27 11 * * * podman volume export systemd-mattermost-server-config --output /home/podman/cron-backup/phares-mattermost-server-config-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
@ -26,11 +26,11 @@
#
30 11 * * * podman volume export systemd-pgadmin-data --output /home/podman/cron-backup/phares-pgadmin-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
31 11 * * * podman volume export systemd-firefox-data --output /home/podman/cron-backup/phares-firefox-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
32 11 * * * podman volume export systemd-immich-learning-cache --output /home/podman/cron-backup/phares-immich-learning-cache-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
## 32 11 * * * podman volume export systemd-immich-learning-cache --output /home/podman/cron-backup/phares-immich-learning-cache-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
#
13 12 * * * podman volume export systemd-blinko-db-data --output /home/podman/cron-backup/phares-blinko-db-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
14 12 * * * podman volume export systemd-gitea-db-data --output /home/podman/cron-backup/phares-gitea-db-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
15 12 * * * podman volume export systemd-immich-db-data --output /home/podman/cron-backup/phares-immich-db-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
## 15 12 * * * podman volume export systemd-immich-db-data --output /home/podman/cron-backup/phares-immich-db-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
# 16 12 * * * podman volume export systemd-linkwarden-db-data --output /home/podman/cron-backup/phares-linkwarden-db-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
# 17 12 * * * podman volume export systemd-mattermost-db-data --output /home/podman/cron-backup/phares-mattermost-db-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar
# 18 12 * * * podman volume export systemd-odoo-db-data --output /home/podman/cron-backup/phares-odoo-db-data-$(date +"\%Y-\%m-\%d--\%H-\%M-\%S").tar

View File

@ -1,5 +1,5 @@
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.S7Dhlv/crontab installed on Fri Jan 31 19:34:43 2025)
# (/tmp/crontab.oGGBpo/crontab installed on Sun Mar 2 22:04:25 2025)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# Edit this file to introduce tasks to be run by cron.
#
@ -9,3 +9,5 @@
# 25 13 * * * cd /root/jackyzha0-quartz-phares && /snap/bin/npx quartz build
25 13 * * * cd /home/www-data/jackyzha0-quartz-phares && /snap/bin/npx quartz build
01 14 * * * rsync --remove-source-files -av -e ssh /home/podman/cron-backup/ root@192.168.0.31:/home/podman/cron-backup-delete/
05 22 * * * cd / && ncdu -o /home/podman/ncdu.json && chown podman:podman /home/podman/ncdu.json