mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
docs: Add Docker volume mount configuration instructions (#662)
Some checks failed
docker-build / platform-excludes (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled
Some checks failed
docker-build / platform-excludes (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled
- 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 <tobias.wizneteu@gmail.com>
This commit is contained in:
@@ -24,3 +24,22 @@ services:
|
|||||||
# Configure what ports to expose on host
|
# Configure what ports to expose on host
|
||||||
- "${EOS_SERVER__PORT}:8503"
|
- "${EOS_SERVER__PORT}:8503"
|
||||||
- "${EOS_SERVER__EOSDASH_PORT}:8504"
|
- "${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
|
||||||
|
Reference in New Issue
Block a user