apps/cms using DockerThe apps/cms is a part of a monorepo and can be deployed using Docker and Docker Compose. This can work with the staging or production branches, just swap out the name of the service cms-staging or cms-production in the commands below.
apps/cms directory exists and the corresponding apps/cms/Dockerfile and ./docker-compose.yml are there.Clone Repo
Setup the the project by cloning the repo and switching to the staging or main branch:
Install Dependencies
apps/cms using Docker Compose. Run the apps/cms container using Docker Compose
This will start the CMS app and any other services defined in the docker-compose.yml file. The docker-compose.yml file should have a service defined for the CMS app that uses the cms-app image built in the previous step.
Configuring Default Port(optional)
Once the apps/cms is running, you can access the CMS on port 5656 (default). The port and URL will depend on the configuration in the docker-compose.yml file, this can be edited accordingly.
View apps/cms logs
To view the logs for the running CMS app, use the following Docker Compose command:
Replace cms-staging in the above example with the services defined in the docker-compose.yml file if it's different.