From ddc2afb950b88bb0d11a4176a07a13ca2e0485a9 Mon Sep 17 00:00:00 2001 From: Viren070 Date: Wed, 25 Jun 2025 20:19:49 +0100 Subject: [PATCH] fix: add COMPOSE_FILE env var --- .env | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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