diff --git a/Docker/README.md b/Docker/README.md new file mode 100644 index 0000000..bba5b42 --- /dev/null +++ b/Docker/README.md @@ -0,0 +1 @@ +All yaml configs using stack.env variables, as they was designed to be used with Portainer \ No newline at end of file diff --git a/Docker/ddns-cloudflare/cloudflare_example.env b/Docker/ddns-cloudflare/cloudflare_example.env new file mode 100644 index 0000000..f4b79b4 --- /dev/null +++ b/Docker/ddns-cloudflare/cloudflare_example.env @@ -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 \ No newline at end of file diff --git a/yamls/ddns-cloudflare.yaml b/Docker/ddns-cloudflare/ddns-cloudflare.yaml similarity index 100% rename from yamls/ddns-cloudflare.yaml rename to Docker/ddns-cloudflare/ddns-cloudflare.yaml diff --git a/yamls/heimdall.yaml b/Docker/heimdall/heimdall.yaml similarity index 100% rename from yamls/heimdall.yaml rename to Docker/heimdall/heimdall.yaml diff --git a/Docker/immich/README.md b/Docker/immich/README.md new file mode 100644 index 0000000..fca327c --- /dev/null +++ b/Docker/immich/README.md @@ -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 \ No newline at end of file diff --git a/yamls/immich.yaml b/Docker/immich/immich.yaml similarity index 99% rename from yamls/immich.yaml rename to Docker/immich/immich.yaml index c0a313c..5754f90 100644 --- a/yamls/immich.yaml +++ b/Docker/immich/immich.yaml @@ -8,7 +8,7 @@ services: volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - - stackstack.env + - stack.env depends_on: - redis - database diff --git a/Docker/immich/immich_example.env b/Docker/immich/immich_example.env new file mode 100644 index 0000000..63d3a4a --- /dev/null +++ b/Docker/immich/immich_example.env @@ -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= \ No newline at end of file diff --git a/yamls/nextcloud.yaml b/Docker/nextcloud/nextcloud.yaml similarity index 100% rename from yamls/nextcloud.yaml rename to Docker/nextcloud/nextcloud.yaml diff --git a/Docker/nextcloud/nextcoud_example.env b/Docker/nextcloud/nextcoud_example.env new file mode 100644 index 0000000..5173b10 --- /dev/null +++ b/Docker/nextcloud/nextcoud_example.env @@ -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 \ No newline at end of file diff --git a/yamls/nginx-proxy.yaml b/Docker/nginx-proxy-manager/nginx-proxy.yaml similarity index 100% rename from yamls/nginx-proxy.yaml rename to Docker/nginx-proxy-manager/nginx-proxy.yaml diff --git a/Docker/nginx-proxy-manager/nginx_example.env b/Docker/nginx-proxy-manager/nginx_example.env new file mode 100644 index 0000000..02ae463 --- /dev/null +++ b/Docker/nginx-proxy-manager/nginx_example.env @@ -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 \ No newline at end of file diff --git a/yamls/portainer.yaml b/Docker/portainer/portainer.yaml similarity index 100% rename from yamls/portainer.yaml rename to Docker/portainer/portainer.yaml diff --git a/Docker/portainer/portainer_example.env b/Docker/portainer/portainer_example.env new file mode 100644 index 0000000..226e64e --- /dev/null +++ b/Docker/portainer/portainer_example.env @@ -0,0 +1,2 @@ +# Path where thr Portainer data will be stored on the host +PORTAINER_DATA=/path/to/portainer/data \ No newline at end of file diff --git a/yamls/webtop.yaml b/Docker/webtop/webtop.yaml similarity index 100% rename from yamls/webtop.yaml rename to Docker/webtop/webtop.yaml diff --git a/Docker/webtop/webtop_example.env b/Docker/webtop/webtop_example.env new file mode 100644 index 0000000..a4b2171 --- /dev/null +++ b/Docker/webtop/webtop_example.env @@ -0,0 +1,2 @@ +# Where webtop config will be stored +CONFIG=/path/to/webtop/data \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..c340713 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# homelab diff --git a/yamls/README.md b/yamls/README.md deleted file mode 100644 index ca1c501..0000000 --- a/yamls/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# homelab -These yaml files use stack.env variable files, which allows them to be executed from Portainer. \ No newline at end of file