macOS and Linux scripts now use env files so users won't have their settings deleted when doing a git pull
change /data folder to /root.
Pros: It allows the default user (root) to save pgmodeler's settings between sessions, and the root home folder is available as a shortcut when launching pgmodeler. So it should be a bit faster when accessing your projects.
Cons: On your host machine, you have to move your existing projects from /data to /data/root to make them available in the container.
Let me know how it goes. Btw I'm still learning Docker but it looks like using root as a default user isn't best practice. We can look at this later!
Hi! Here are some modifications:
Let me know how it goes. Btw I'm still learning Docker but it looks like using root as a default user isn't best practice. We can look at this later!