|
@@ -1,8 +1,8 @@
|
|
|
|
+# shellcheck disable=SC2034,SC2148
|
|
|
|
+
|
|
# -*- mode: bash -*-
|
|
# -*- mode: bash -*-
|
|
# vi: ft=bash
|
|
# vi: ft=bash
|
|
|
|
|
|
-# shellcheck disable=SC2034
|
|
|
|
-
|
|
|
|
###############################################################
|
|
###############################################################
|
|
# Docker-wide configuration
|
|
# Docker-wide configuration
|
|
###############################################################
|
|
###############################################################
|
|
@@ -31,9 +31,6 @@ DOCKER_TAG="branch-jippi-fork-apache-8.1"
|
|
# See: https://www.php.net/manual/en/timezones.php
|
|
# See: https://www.php.net/manual/en/timezones.php
|
|
TZ="UTC"
|
|
TZ="UTC"
|
|
|
|
|
|
-# Automatically run [artisan migrate --force] if new migrations are detected.
|
|
|
|
-DOCKER_APPLY_NEW_MIGRATIONS_AUTOMATICALLY="0"
|
|
|
|
-
|
|
|
|
# Automatically run "One-time setup tasks" commands.
|
|
# Automatically run "One-time setup tasks" commands.
|
|
#
|
|
#
|
|
# If you are migrating to this docker-compose setup or have manually run the "One time seutp"
|
|
# If you are migrating to this docker-compose setup or have manually run the "One time seutp"
|
|
@@ -315,6 +312,9 @@ DB_DATABASE="pixelfed_prod"
|
|
# See: https://docs.pixelfed.org/technical-documentation/config/#db_port
|
|
# See: https://docs.pixelfed.org/technical-documentation/config/#db_port
|
|
DB_PORT="3306"
|
|
DB_PORT="3306"
|
|
|
|
|
|
|
|
+# Automatically run [artisan migrate --force] if new migrations are detected.
|
|
|
|
+DB_APPLY_NEW_MIGRATIONS_AUTOMATICALLY="0"
|
|
|
|
+
|
|
###############################################################
|
|
###############################################################
|
|
# Mail configuration
|
|
# Mail configuration
|
|
###############################################################
|
|
###############################################################
|
|
@@ -970,3 +970,31 @@ DOCKER_PROXY_PROFILE=""
|
|
|
|
|
|
# Set this to a non-empty value (e.g. "disabled") to disable the [proxy-acme] service
|
|
# Set this to a non-empty value (e.g. "disabled") to disable the [proxy-acme] service
|
|
DOCKER_PROXY_ACME_PROFILE="${DOCKER_PROXY_PROFILE}"
|
|
DOCKER_PROXY_ACME_PROFILE="${DOCKER_PROXY_PROFILE}"
|
|
|
|
+
|
|
|
|
+# Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store their data
|
|
|
|
+DOCKER_DATA_ROOT="./docker-compose-state/data"
|
|
|
|
+
|
|
|
|
+# Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store their confguration
|
|
|
|
+DOCKER_CONFIG_ROOT="./docker-compose-state/config"
|
|
|
|
+
|
|
|
|
+# Path (on host system) where the [db] container will store its data
|
|
|
|
+#
|
|
|
|
+# Path is relative (./some/other/path) to the docker-compose.yml or absolute (/some/other/path)
|
|
|
|
+DB_DATA_PATH="${DOCKER_DATA_ROOT}/db"
|
|
|
|
+
|
|
|
|
+# Path (on host system) where the [redis] container will store its data
|
|
|
|
+#
|
|
|
|
+# Path is relative (./some/other/path) to the docker-compose.yml or absolute (/some/other/path)
|
|
|
|
+REDIS_DATA_PATH="${DOCKER_DATA_ROOT}/redis"
|
|
|
|
+
|
|
|
|
+# Path (on host system) where the [app] + [worker] container will write
|
|
|
|
+# its [storage] data (e.g uploads/images/profile pictures etc.).
|
|
|
|
+#
|
|
|
|
+# Path is relative (./some/other/path) to the docker-compose.yml or absolute (/some/other/path)
|
|
|
|
+APP_STORAGE_PATH="${DOCKER_DATA_ROOT}/pixelfed/storage"
|
|
|
|
+
|
|
|
|
+# Path (on host system) where the [app] + [worker] container will write
|
|
|
|
+# its [cache] data.
|
|
|
|
+#
|
|
|
|
+# Path is relative (./some/other/path) to the docker-compose.yml or absolute (/some/other/path)
|
|
|
|
+APP_CACHE_PATH="${DOCKER_DATA_ROOT}/pixelfed/cache"
|