Skip to content

Commit

Permalink
docker: document a problem with older versions of docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbernat committed Jan 14, 2024
1 parent 83e92de commit 34237d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ COMPOSE_FILE=${COMPOSE_FILE}:docker/docker-compose-ipinfo.yml

## Demo
COMPOSE_FILE=${COMPOSE_FILE}:docker/docker-compose-demo.yml

# On older versions of docker-compose, you may get the following error:
# ERROR: .FileNotFoundError: [Errno 2] No such file or directory: './${COMPOSE_FILE}'
#
# In this case, you need to concatenate everything into one line:
# COMPOSE_FILE=docker/docker-compose.yml:docker/docker-compose-ipinfo.yml:docker/docker-compose-demo.yml

0 comments on commit 34237d2

Please sign in to comment.