Skip to content

Move more files into fsm-data in Docker image. #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down