Project Structure
Core Repos
...
- staging-app and live-app both include new UKRDC instances
- /srv/ukrdc-compose/
- In both cases, the host nginx config needs to be set up to forward to the Docker stack
- E.g. /etc/nginx/conf.d/staging-app.ukrdc.nhs.uk.conf
- This should not need to be changed unless we want to change the new stack base URL
Deployment Process
- Our Docker images are deployed to GHCR (https://github.com/orgs/renalreg/packages)
- Once the image has been deployed (check repo Actions tab for status), connect to the app server via SSH
- Run:
- cd /srv/ukrdc-compose
- docker-compose pullĀ
- docker-compose down
- docker-compose up -d
- Ideally also run
- docker system prune
- You can view real-time logs from the entire stack with:
- docker-compose log -f