change where overrides are placed

This commit is contained in:
Christian Winther 2024-01-26 20:45:08 +00:00
parent 335e6954d2
commit a665168031

View file

@ -903,11 +903,18 @@ DOCKER_ALL_CONTAINER_NAME_PREFIX="${APP_DOMAIN}"
# Can be overridden by individual [DOCKER_*_HEALTHCHECK_INTERVAL] settings further down # Can be overridden by individual [DOCKER_*_HEALTHCHECK_INTERVAL] settings further down
DOCKER_ALL_DEFAULT_HEALTHCHECK_INTERVAL="10s" DOCKER_ALL_DEFAULT_HEALTHCHECK_INTERVAL="10s"
# Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will *all* data
# will be stored (data, config, overrides)
DOCKER_ALL_HOST_ROOT_PATH="./docker-compose-state"
# Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store their data # Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store their data
DOCKER_ALL_HOST_DATA_ROOT_PATH="./docker-compose-state/data" DOCKER_ALL_HOST_DATA_ROOT_PATH="${DOCKER_ALL_HOST_ROOT_PATH}/data"
# Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store their confguration # Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store their confguration
DOCKER_ALL_HOST_CONFIG_ROOT_PATH="./docker-compose-state/config" DOCKER_ALL_HOST_CONFIG_ROOT_PATH="${DOCKER_ALL_HOST_ROOT_PATH}/config"
# Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store overrides
DOCKER_APP_HOST_OVERRIDES_PATH="${DOCKER_ALL_HOST_ROOT_PATH}/overrides"
################################################################################ ################################################################################
# Docker [web] + [worker] (also know as "app") shared service configuration # Docker [web] + [worker] (also know as "app") shared service configuration
@ -982,9 +989,6 @@ DOCKER_APP_HOST_STORAGE_PATH="${DOCKER_ALL_HOST_DATA_ROOT_PATH}/pixelfed/storage
# Path is relative (./some/other/path) to the docker-compose.yml or absolute (/some/other/path) # Path is relative (./some/other/path) to the docker-compose.yml or absolute (/some/other/path)
DOCKER_APP_HOST_CACHE_PATH="${DOCKER_ALL_HOST_DATA_ROOT_PATH}/pixelfed/cache" DOCKER_APP_HOST_CACHE_PATH="${DOCKER_ALL_HOST_DATA_ROOT_PATH}/pixelfed/cache"
# Path (relative to the docker-compose.yml) or absolute (/some/other/path) where containers will store overrides
DOCKER_APP_HOST_OVERRIDES_PATH="${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/overrides"
# 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"