Content
You are here:
How to split all-in-one docker container for k8s / docker compose
Added by Axel Bock over 5 years ago
hi there, I want to split the all-in-one container into several running parts, so I can use docker-compose and/or k8s for running openproject. I just found no docs whatsoever who go into more detail than this or that page, and that does not help. can anyone help out here? my questions are:
- how do the parts "find" each other? which config values are involved? (e.g. the web part the memcache, or the web part the worker, or the worker the db, ...)
- which parts need to actually communicate? (the web with the DB? the web with the worker? the worker with the cache?)
- which parts need access to the static filesystem? (the "assets" it seems, the DB file system seems to only be needed for the database)
- can I start the "db part" as well if I wanted to?
if anyone could answer this, I am writing a k8s helm chart right now and this would be very helpful. it seems to kinda work with the all-in-one version, but this is not exactly how I would do things and it also takes up quite a lot of resources. it's also not best practice ;)
thanks in advance for any help!
axel.