docker-compose.yml runs HODA on the main host, published on one address (10.20.30.10:10040 in .env.example) for the Pangolin resource. The agent settings are optional, so a single host needs nothing else. docker-compose.agent.yml is for a second Docker host. Both follow FiMa's layout: required values fail with a clear message, pull_policy always, memory limits, capped logs, a read-only root filesystem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# HODA on the main host. Copy to .env next to docker-compose.yml.
|
|
|
|
# Where HODA listens, and where the Pangolin resource for apps.mariosem.es points:
|
|
# http://10.20.30.10:10040. Use 127.0.0.1 to keep it off the LAN when Pangolin runs on this host.
|
|
HODA_BIND_IP=10.20.30.10
|
|
HODA_PORT=10040
|
|
|
|
# Name of this host on tiles and in search.
|
|
HODA_NODE_NAME=main
|
|
|
|
# Page header and browser tab title.
|
|
HODA_TITLE=apps.mariosem.es
|
|
|
|
# --- Only with a second Docker host (it runs docker-compose.agent.yml) -------------------
|
|
# Leave both empty while there is one host.
|
|
# The agent's address on the second host: http://<its HODA_AGENT_BIND_IP>:<its HODA_AGENT_PORT>,
|
|
# e.g. http://10.20.30.11:8081
|
|
HODA_AGENT_URL=
|
|
# Secret the two hosts share, the same value on both: openssl rand -hex 32
|
|
HODA_PEER_TOKEN=
|
|
# ----------------------------------------------------------------------------------------
|
|
|
|
# Image tag: latest, a release such as 1.0.0, or a build such as sha-9d6a921.
|
|
HODA_TAG=latest
|
|
|
|
# Bind-mount the icon cache to a host directory instead of a named volume
|
|
# (sudo chown -R 65532:65532 the directory first).
|
|
# HODA_DATA_DIR=/home/msemes/AppData/hoda
|
|
|
|
# debug logs every icon lookup.
|
|
HODA_LOG_LEVEL=info
|