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

Allow OpenPlc Configuration storage outside container in Docker Volumes #197

Merged
merged 3 commits into from
Apr 5, 2023

Conversation

Wawszczak
Copy link
Contributor

This is implementation for issue #196

Created symlinks for mbconfig.cfg and persistent.file
symlinks for:
openplc.db
persistent.file
mbconfig.cfg
dnp3.cfg
st_files
/persistent -> /workdir/webserver
paths are hardcoded in scripts/start_openplc.sh
…artup of OpenPlc

This allows to startup in the same way inside and outside of Docker environment.
In docker container it is mount point for volume.
Outside docker, ie. normal linux it will persist all data in /persistent directory
@thiagoralves thiagoralves merged commit 5a00f03 into thiagoralves:master Apr 5, 2023
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

Successfully merging this pull request may close these issues.

2 participants