Custom config file with Compose
Point Docker Compose at your own config.toml without editing the installer's file.
The compose bind-mount source is overridable, so you don't have to edit the
config.toml the installer wrote. Set EDDYTOR_CONFIG_FILE on the host before
running Compose and it mounts your file instead.
One-off
cp config.toml /etc/eddytor/my-config.toml
# edit /etc/eddytor/my-config.toml
EDDYTOR_CONFIG_FILE=/etc/eddytor/my-config.toml docker compose up -dPersisted
Put it in the .env next to docker-compose.yml (Compose auto-loads it):
# .env (gitignored)
EDDYTOR_CONFIG_FILE=/etc/eddytor/my-config.tomlGood to know
EDDYTOR_CONFIG_FILE is second in the
resolution order - below EDDYTOR__SECTION__KEY
env overrides, above the default file locations.Remember to restart
Config is read at boot, not hot-reloaded:
docker compose restart