Replies: 1 comment 1 reply
-
I recently added docker-compose.test.yml which allows to start a CMS instance and run tests against it. It would be nice to create a similar file for the "development" use case, which would mean for example keeping the database around instead of dropping it and re-creating it at each run like we do in the testing use case. An attempt is at #1228 I also thought about providing a third file for the "production" use case, but I fear it might be too general to support natively (e.g. maybe we should support replicating the load-heavy services like CWS, load balancing them with a reverse proxy...) so I thought for now that such a use case would be better served by the contest admins writing their own There is also the LaTeX stuff, which isn't always needed and might cause the docker image to build more slowly / occupy more space on disk for everyone. Maybe there is some clever way to separate the "preparing the contest" from the "running the contest" and have two separate images for it? I would like to know: what is the use case that you're looking for? Do you want to run a contest or just test CMS locally? |
Beta Was this translation helpful? Give feedback.
-
It would be useful for lazy people like me to run the CMS platform using a few commands, even without administrator's privileges.
A
docker-compose.yml
file for bootstrapping the whole system could be a great solution.A
postgres:latest
image could be used for the database, anubuntu:latest
image could manage the services and document creation (LaTeX and so on), and angnix:latest
image could provide the web services access. The container should provide an initial configuration including an administrator user, a test contest and a test user participating to the test contest. The order of containers and services startup must be coded indocker-compose.yml
.Finally, a volume could be used to manage contest resources.
The
docker-compose.yml
would provide also a valid installation procedure explanation.Beta Was this translation helpful? Give feedback.
All reactions