How to Use a Custom Docker Compose File - TACC/Core-CMS GitHub Wiki
- To avoid conflict when running https://github.com/TACC/Core-Portal/ and https://github.com/TACC/Core-CMS/ locally.
- (Advanced) To run multiple CMS instances simultaneously on one machine.
- Copy
docker-compose.dev.ymlasdocker-compose.custom.yml. - In the
docker-compose.custom.ymlfile, replacecore_cmswithsad_cms*, e.g.:-
core_cms→sad_cms -
core_cms_postgres→sad_cms_postgres -
core_cms_postgres_data→sad_cms_postgres_data - ...
-
- (If no
taccsite_cms/secrets.pyfile),- Create
taccsite_cms/secrets.py. - Copy
DATABASES = { ... }fromtaccsite_cms/settings.pytotaccsite_cms/secrets.py.
- Create
- In the
taccsite_cms/secrets.pyfile, replace "core_cms_postgres" with "sad_cms_postgres".
* The prefix is not required to be sad_. You may use another prefix. The sad_ stands for "Stand-Alone Django", and is used in other documents (like Locally Develop CMS + Portal + Docs).