Some items related to this:
/var/lib/docker/volumes/ to /lemmy/volumes/ for easier administration@dessalines what was the thing you mentioned about loading the initial configuration directly into postgres?
You could set up a lemmy from scratch, add some test data, do a db dump using like docker exec -it dev_lemmy_db_1 > dump.sql .... I forget the commands to dump and restore rn. Stick that test_dump.sql in the repo somewhere.
Then as part of a test deploy, run the postgres command to import that data into the docker db.
You think that is stable enough to use for production?
Btw I made a new PR on Gitea.
It def should only be used for setting up test instances, never for production.
It would definitely be nice to have something like that thats good for production use. Also I should have asked this in #404....
By automatic setup you just mean all the stuff in #404 ? Because that will only fill that site table, it won't create any test comments or anything.
Yep thats what I mean. Not sure if it actually makes sense to auto-create posts or comments.
@dessalines Guess I can also do the change for running multiple instances on one server now, so we have all the docker-compose related changes in the same release.
That'd be a good idea.