Skip to content
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

[FEAT] Move server_config.cfg into the data directory so it can easily be included in a docker volume. #1376

Open
SeeJayEmm opened this issue Jan 29, 2024 · 1 comment

Comments

@SeeJayEmm
Copy link

Is your feature request related to a problem? Please describe.
Currently the server_config.cfg sits in /planarally/ and any changes will be lost when the container is updated.

Describe the solution you'd like
server_config.cfg to a sub-directory so it can be mounted as a volume. Something like /planarally/config

Describe alternatives you've considered
An alternative would be a bind mount of the specific file. This would negate the benefits of using docker volumes.

Additional context
None

@Kruptein
Copy link
Owner

There actually is a specific config file for this reason under Dockerfiles/server_config_docker.cfg.
Which uses data/planar.sqlite as its default save location for similar reasons.

Though I will admit that it's slightly awkward to have two files and ideally this is just unified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants