From dfa9471ebc5950b93cd2c6acc0583c0c2fe6fb1b Mon Sep 17 00:00:00 2001 From: John Beisley Date: Sat, 3 Jun 2023 14:41:24 +0100 Subject: [PATCH 1/2] Store more FSM data files in fsm-data in Docker. - `factorio.auth`, - `mod_pack` directory. This places the files in a volume managed directory. --- docker/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 328b25dc..2fde6c54 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -10,6 +10,8 @@ init_config() { jq_cmd="${jq_cmd} | .sq_lite_database_file = \"/opt/fsm-data/sqlite.db\"" jq_cmd="${jq_cmd} | .log_file = \"/opt/fsm-data/factorio-server-manager.log\"" + jq_cmd="${jq_cmd} | .factorio_credentials_file = \"/opt/fsm-data/factorio.auth\"" + jq_cmd="${jq_cmd} | .mod_pack_dir = \"/opt/fsm-data/mod_packs\"" jq "${jq_cmd}" /opt/fsm/conf.json >/opt/fsm-data/conf.json } From d66234608574f1484b847c1852c37f0e0083a5b1 Mon Sep 17 00:00:00 2001 From: John Beisley Date: Sat, 3 Jun 2023 14:50:39 +0100 Subject: [PATCH 2/2] Update changelog for moving files into fsm-data. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00694c9e..4a7fdf86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [0.11.0] - TBD ### Changed - Configuration environment variables are now uppercase and prefixed with FSM +- Docker: `factorio.auth` and `mod_packs` moved into `/opt/fsm-data` volume. ## [0.10.1] - 2021-03-09 ### Fixed