Fully reordered file structure. All files splitted by servises. Manuals will be added where needed.

This commit is contained in:
Max Buz
2023-09-22 17:31:13 +02:00
committed by GitHub
parent 328afe3b80
commit 49b5b96ef3
17 changed files with 65 additions and 3 deletions

1
Docker/README.md Normal file
View File

@@ -0,0 +1 @@
All yaml configs using stack.env variables, as they was designed to be used with Portainer

View File

@@ -0,0 +1,5 @@
# Cloudflare API key. User -> My Profile -> API tokens
CLOUDFLARE_API=your_api_key
# Cloudflare zone, which will be used. Dashboard -> Web Sites
ZONE=your_zone

4
Docker/immich/README.md Normal file
View File

@@ -0,0 +1,4 @@
Sometimes Immich may return error 500 after startup. It helps to stop all containers and then start them in that order:
1. immich_postgres, immich_redis, immich_typesense
2. Here you need to wait 3-5 minutes to be sure, that typesense is running correctly
3. Rest of the containers, including immich_server

View File

@@ -8,7 +8,7 @@ services:
volumes: volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file: env_file:
- stackstack.env - stack.env
depends_on: depends_on:
- redis - redis
- database - database

View File

@@ -0,0 +1,23 @@
# 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=/path/to/media/folder
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=some_random_text
DB_PASSWORD=strong_password
# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
# Uncomment and change, if you need to use Immich with proxy
# IMMICH_WEB_URLL=
# IMMICH_SERVER_URL=

View File

@@ -0,0 +1,21 @@
# Overall and upload PHP limits
PHP_MEMORY_LIMIT=2048M
PHP_UPLOAD_LIMIT=5120M
# Timezone
TZ=Europe/Warsaw
# Where config will be stored
CONFIG=/path/to/config_folder
# Where the data (files) will be stored
DATA=/path/to/data_folder
# MySQL password for the root account
MYSQL_ROOT_PASSWORD=super_duper_strong_password
# MySQL password for the nextcloud account
MYSQL_PASSWORD=another_one_strong_password
# Folder, where database will be stored
MARIADB=/path/to/mariadb/folder

View File

@@ -0,0 +1,5 @@
# Where the proxy data will be stored
NGINX_DATA=/path/to/nginx/data_folder
# Where the Letsencrypt data will be stored
NGINX_LETSENCRYPT=/path/to/letsencrypt/data_folder

View File

@@ -0,0 +1,2 @@
# Path where thr Portainer data will be stored on the host
PORTAINER_DATA=/path/to/portainer/data

View File

@@ -0,0 +1,2 @@
# Where webtop config will be stored
CONFIG=/path/to/webtop/data

1
README.md Normal file
View File

@@ -0,0 +1 @@
# homelab

View File

@@ -1,2 +0,0 @@
# homelab
These yaml files use stack.env variable files, which allows them to be executed from Portainer.