Skip to main content
Last updated: 12 Aug 2026

govuk-docker: Local development with port-forwarded supporting apps

Apps such as Frontend have various stacks (app-live, app-integration, app-draft), but they are increasingly complicated to maintain and have generally excluded things such as postcode searches and licences. To develop against integration or live (or even staging) versions of these backend services we can now use kubernetes port forwarding. See this PR for Frontend and PR for Places Manager on how to configure this as an additional service stack for an app.

From the app directory (e.g. ~/govuk/frontend):

  1. Log in to the appropriate AWS environment (we'll use integration as an example)

eval $(gds aws govuk-$1-developer -e --art 8h)

  1. Use the appropriate context

kubectl config use-context integration

  1. Run the port forward command

../govuk-docker/bin/port-forward

  1. Run govuk-docker against the ports app

../govuk-docker-run app-ports

You should now be able to locally view things such as postcode and licence pages as they appear in integration.

When you're finished, stop the port-forwarding with:

pkill -f "kubectl port-forward"