fix: add COMPOSE_FILE env var

This commit is contained in:
Viren070
2025-06-25 20:19:49 +01:00
parent f07e8926eb
commit ddc2afb950
+5 -2
View File
@@ -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