CMS Docker Compose
A docker-compose environment for RIDI CMS Service.
If you build a new service for the CMS, it should be bound to the haproxy. The default path and port for your service can be found in
make upwill start the docker containers.
- Wait for several seconds until the conainers startup.
make db-migratefor sample db migration. If it fails, try again in a few seconds.
- Run your CMS service app at the port and path described in
make downfor shutting down the containers.
docker/haproxy/ssl.mergeinto your keychain and make it trusted.
127.0.0.1 admin.ridibooks.comin /etc/hosts
- open https://admin.ridibooks.com in the browser.