Sign in

Upgrading the application workflow for dkapp (on-prem docker setup)

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

This task automates the application upgrade process for the dkapp component.

The workflow ensures a clean and consistent upgrade by following a controlled sequence:


1. Gracefully shuts down the dkproxy service to avoid traffic during the upgrade.

2. Brings down the running dkapp instance.

3. Pulls the latest application and service images from ECR.

4. Restarts the database and logging services to ensure fresh state alignment.

5. Brings up the updated application (dkapp) with logs enabled for verification.

6. Finally, restarts the dkproxy to resume serving external traffic.


This ensures zero-config drift, fresh image deployment, and minimal downtime.

# Step 1: Bring down the proxy cd dkproxy make down # Step 2: Bring down the app cd ../dkapp make down # Step 3: Pull new images from ECR make pull # Step 4: Bring up the database services (DB + logs) make updb dblogs # Step 5: Bring up the application with logs make up logs # Step 6: Bring up the proxy with logs cd ../dkproxy make up logs
copied