diff --git a/.env b/.env index 3c3917a..09241d8 100644 --- a/.env +++ b/.env @@ -9,8 +9,9 @@ TZ=Etc/UTC # Directory configuration. This .env file should be in /opt/docker, using the defaults below. # You MUST use absolute paths, otherwise each bind mount would be created relative to each compose file, and not # the current directory -DOCKER_DATA_DIR=/opt/docker/data -DOCKER_APP_DIR=/opt/docker/apps +DOCKER_DIR=/opt/docker +DOCKER_DATA_DIR=${DOCKER_DIR}/data +DOCKER_APP_DIR=${DOCKER_DIR}/apps # The process user ID and group ID to use for applicable containers. # Run 'id' to see your UID and GID @@ -185,6 +186,8 @@ COMPOSE_PROJECT_NAME=aio COMPOSE_REMOVE_ORPHANS=true # Delegate building to bake for improved performance. COMPOSE_BAKE=true +# Defining the location of the compose file. +COMPOSE_FILE=${DOCKER_DIR}/compose.yaml # Whether to change the name of the network that all containers run on or to connect to an external network. # Reference: https://docs.docker.com/compose/how-tos/networking/#use-a-pre-existing-network DOCKER_NETWORK=aio_network