From 5881c1459a4d336e434b33a3474d059de13786b1 Mon Sep 17 00:00:00 2001 From: 7tobias Date: Tue, 26 Aug 2025 23:32:37 +0200 Subject: [PATCH] docs: Add Docker volume mount configuration instructions (#662) - Add documentation explaining the config file requirement when mounting volumes - Include example EOS.config.json with required 0.0.0.0 host bindings - Provide commented-out volume mount examples for easy user reference This addresses issue #661 where users experience connection issues when mounting local directories without proper configuration. Co-authored-by: Tobias Welz --- docker-compose.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index e9e4831..bdfd0c0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -24,3 +24,22 @@ services: # Configure what ports to expose on host - "${EOS_SERVER__PORT}:8503" - "${EOS_SERVER__EOSDASH_PORT}:8504" + + # Volume mount configuration (optional) + # IMPORTANT: When mounting local directories, the default config won't be available. + # You must create an EOS.config.json file in your local config directory with: + # { + # "server": { + # "host": "0.0.0.0", # Required for Docker container accessibility + # "port": 8503, + # "startup_eosdash": true, + # "eosdash_host": "0.0.0.0", # Required for Docker container accessibility + # "eosdash_port": 8504 + # } + # } + # + # Example volume mounts (uncomment to use): + # volumes: + # - ./config:/opt/eos/config # Mount local config directory + # - ./cache:/opt/eos/cache # Mount local cache directory + # - ./output:/opt/eos/output # Mount local output directory