From e396e824bd65aedbd63fecd678c679550d1526c0 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Tue, 24 Jun 2025 19:09:47 +0200 Subject: [PATCH] Fix Docker call to include .env Docker compose only includes .env if it is located in the same directory as the docker-compose.yml, otherwise it needs to be explicitly stated. Fix the example in README to reflect that behavior. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d2f5394ff..89add81dd 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ We provide official container images hosted on [Docker Hub](https://hub.docker.c Run the following command to start the Docker images from [Docker Hub](https://hub.docker.com/r/ghostfolio/ghostfolio): ```bash -docker compose -f docker/docker-compose.yml up -d +docker compose -f docker/docker-compose.yml --env-file .env up -d ``` #### b. Build and run environment @@ -126,8 +126,8 @@ docker compose -f docker/docker-compose.yml up -d Run the following commands to build and start the Docker images: ```bash -docker compose -f docker/docker-compose.build.yml build -docker compose -f docker/docker-compose.build.yml up -d +docker compose -f docker/docker-compose.build.yml --env-file .env build +docker compose -f docker/docker-compose.build.yml --env-file .env up -d ``` #### Setup