vps_update
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,8 @@ services:
|
|||||||
caddy:
|
caddy:
|
||||||
image: caddy:alpine
|
image: caddy:alpine
|
||||||
restart: always
|
restart: always
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ actuals.01v0.com:443 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#travel.01v0.com:443 {
|
#travel.01v0.com:443 {
|
||||||
# root * /srv/
|
# root * /srv/
|
||||||
# file_server
|
# file_server
|
||||||
#}
|
#}
|
||||||
|
|||||||
2
immich-app/.env
Normal file → Executable file
2
immich-app/.env
Normal file → Executable file
@@ -20,3 +20,5 @@ DB_PASSWORD=postgres
|
|||||||
###################################################################################
|
###################################################################################
|
||||||
DB_USERNAME=postgres
|
DB_USERNAME=postgres
|
||||||
DB_DATABASE_NAME=immich
|
DB_DATABASE_NAME=immich
|
||||||
|
|
||||||
|
# IMMICH_LOG_LEVEL=verbose
|
||||||
|
|||||||
24
immich-app/docker-compose.yml
Normal file → Executable file
24
immich-app/docker-compose.yml
Normal file → Executable file
@@ -20,6 +20,7 @@ services:
|
|||||||
# 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
|
# 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}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /mnt/inter_samba/Photos_Originals:/photos_originals
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
ports:
|
||||||
@@ -33,8 +34,8 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '1.0'
|
cpus: '2.0'
|
||||||
memory: 1000M
|
memory: 4000M
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
container_name: immich_machine_learning
|
container_name: immich_machine_learning
|
||||||
@@ -54,24 +55,24 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '1.0'
|
cpus: '2.0'
|
||||||
memory: 1000M
|
memory: 4000M
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
container_name: immich_redis
|
container_name: immich_redis
|
||||||
image: docker.io/valkey/valkey:8-bookworm@sha256:fec42f399876eb6faf9e008570597741c87ff7662a54185593e74b09ce83d177
|
image: docker.io/valkey/valkey:9@sha256:546304417feac0874c3dd576e0952c6bb8f06bb4093ea0c9ca303c73cf458f63
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: redis-cli ping || exit 1
|
test: redis-cli ping || exit 1
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '1.0'
|
cpus: '2.0'
|
||||||
memory: 500M
|
memory: 40000M
|
||||||
|
|
||||||
database:
|
database:
|
||||||
container_name: immich_postgres
|
container_name: immich_postgres
|
||||||
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@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||||
POSTGRES_USER: ${DB_USERNAME}
|
POSTGRES_USER: ${DB_USERNAME}
|
||||||
@@ -82,12 +83,13 @@ services:
|
|||||||
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
|
||||||
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
||||||
|
shm_size: 128mb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '1.0'
|
cpus: '2.0'
|
||||||
memory: 500M
|
memory: 4000M
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
model-cache:
|
model-cache:
|
||||||
|
|||||||
2
obsidian/.env
Normal file
2
obsidian/.env
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
COUCHDB_USER=pleasant
|
||||||
|
COUCHDB_PASSWORD=dC0y#fiBg56
|
||||||
3
obsidian/.env.save
Normal file
3
obsidian/.env.save
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
COUCHDB_USER=obsidian_user
|
||||||
|
COUCHDB_PASSWORD=ob123
|
||||||
|
|
||||||
23
obsidian/compose.yaml
Normal file
23
obsidian/compose.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
obsidian-livesync:
|
||||||
|
container_name: obsidian-livesync #shortened name
|
||||||
|
image: couchdb:latest
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
- COUCHDB_USER=${COUCHDB_USER}
|
||||||
|
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- /root/setup/VPS_Setup/obsidian/couchdb-data:/opt/couchdb/data
|
||||||
|
- /root/setup/VPS_Setup/obsidian/couchdb-etc:/opt/couchdb/etc/local.d
|
||||||
|
ports:
|
||||||
|
- "5984:5984"
|
||||||
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: curl --fail -s -u ${COUCHDB_USER}:${COUCHDB_PASSWORD} http://localhost:5984/_up | grep -Eo '\"status\":\"ok\"' || exit 1
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
labels:
|
||||||
|
- "net.unraid.docker.webui=http://[IP]:[PORT:5984]/_utils" # for some reason this does not work properly
|
||||||
|
- "net.unraid.docker.icon=https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/png/couchdb.png"
|
||||||
BIN
obsidian/couchdb-data/_dbs.couch
Normal file
BIN
obsidian/couchdb-data/_dbs.couch
Normal file
Binary file not shown.
BIN
obsidian/couchdb-data/_nodes.couch
Normal file
BIN
obsidian/couchdb-data/_nodes.couch
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18
obsidian/couchdb-etc/docker.ini
Normal file
18
obsidian/couchdb-etc/docker.ini
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
[admins]
|
||||||
|
pleasant = -pbkdf2:sha256-bc41e84f208cd73b1c16ada2e9b529d59f2d9afb97fde05d66f8f351647e0988,f1ae600c51e28fd1e9a19575244a6578,600000
|
||||||
|
|
||||||
|
[couchdb]
|
||||||
|
uuid = 4dee7bd84bb0314014907be0319908b9
|
||||||
|
|
||||||
|
[chttpd_auth]
|
||||||
|
secret = a9a045afb03c73e24158f971b07a67d5
|
||||||
|
|
||||||
|
[chttpd]
|
||||||
|
enable_cors = true
|
||||||
|
|
||||||
|
[cors]
|
||||||
|
origins = *
|
||||||
|
headers = accept, authorization, content-type, origin, referer
|
||||||
|
credentials = true
|
||||||
|
methods = GET, PUT, POST, HEAD, DELETE
|
||||||
2
setup.sh
2
setup.sh
@@ -50,7 +50,7 @@ else
|
|||||||
echo installing tailscale
|
echo installing tailscale
|
||||||
curl -fsSL https://tailscale.com/install.sh | sh
|
curl -fsSL https://tailscale.com/install.sh | sh
|
||||||
fi
|
fi
|
||||||
sudo tailscale up --auth-key=tskey-auth-koHiorB8cj11CNTRL-dLaNRmukCWL5BurtnvU2WLDbrv4SDhVDX --hostname=IONOS
|
sudo tailscale up --auth-key=tskey-auth-koHiorB8cj11CNTRL-dLaNRmukCWL5BurtnvU2WLDbrv4SDhVDX --hostname=IONOS --ssh
|
||||||
|
|
||||||
### Docker Containers to Compose ###
|
### Docker Containers to Compose ###
|
||||||
declare -a arr=(
|
declare -a arr=(
|
||||||
|
|||||||
Reference in New Issue
Block a user