mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #509] Volumes in Docker #308
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#308
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cairoapcampos on GitHub (Jun 27, 2022).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/509
I found the link below on how to create volumes for webvirtcloud:
https://www.nodinrogers.com/post/2021-12-30-webvirtcloud-in-a-docker-container/
Is this the best way to create volumes in a production environment?
@cairoapcampos commented on GitHub (Jun 27, 2022):
I've already made some changes locally that have comments in bold. See the docker file below.
Some doubts:
1° Is it possible to change the script webvirtcloud/conf/runit/secret_generator.py not to generate keys that have quotes?
2° Is it possible to run the container with a non-root user?
# Modified Now
# Define mountable directories.
@catborise commented on GitHub (Jun 28, 2022):
"1° Is it possible to change the script webvirtcloud/conf/runit/secret_generator.py not to generate keys that have quotes?"
we especially did not automate settings.py modification. some user may want to use mysql/postgresql instead of "db.sqlite3"...
volumes also related with this situation.
@cairoapcampos commented on GitHub (Aug 24, 2022):
This question can be closed.
I'll try the tip in the link to see if it's possible to use a non-root user:
https://github.com/phusion/baseimage-docker/issues/617
Thanks for changing the script webvirtcloud/conf/runit/secret_generator.py.