Skip to main content

Upgrade Gatekeeper using Docker

First, locate the docker-compose.yaml file used to deploy Corsha Gatekeeper originally. It should look something like below:

version: "3.9"
services:
gatekeeper:
environment:
- PROXY_SECRET=< Generated via the "Generating A Proxy Secret Guide" referenced above >
image: corsha-docker.jfrog.io/proxy:<latest version>
ports:
# listen address for the proxy service
- "8080:8080"
volumes:
- ./proxy-config.yaml:/etc/proxy/proxy-config.yaml
# - ./tls-certs:/etc/pki/tls/private/ tls certs are expected at this path, but are not required for this demo
# - ./ca-certs:/etc/pki/ca-trust/source/anchors/ ca certs are expected at this path, but are not required for this demo
- ./auth-server-certs:/etc/pki/auth-server/source/anchors/

Replace the version field with the newer version provided by your Corsha TPOC

Next, restart the container with the updated docker-compose.yaml

docker compose down
docker compose up