The Office of the Public Guardian LPA Refunds service: Managed by opg-org-infra & Terraform.
Intially, download the repo via:
git clone git@github.com:ministryofjustice/opg-refunds.git
cd opg-refunds
Within opg-refunds
directory to run the project for the first time use the following:
make dc-run
make
The Makefile
will fetch secrets using aws secretsmanager
and docker-compose
commands together to pass along environment variables removing the need for local configuration files.
The Public service will be available via https://localhost:9001/start The Caseworker service will be available via https://localhost:9002
The Caseworker API service will be available (direct) via http://localhost:9003
After the first time, you can run the project by:
make
Composer install is run when the app containers are built, and on a standard docker-compose up
.
It can also be run independently with:
docker-compose run <service>-composer
New packages can be added with:
docker-compose run <service>-composer composer require author/package
Packages can be removed with:
docker-compose run <service>-composer composer remove author/package