diff --git a/README.md b/README.md index cbcf00b..ae48624 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,16 @@ docker run --rm --name goma-gateway \ -v "${PWD}/config:/etc/goma/" \ jkaninda/goma-gateway config init --output /etc/goma/goma.yml ``` -### 2. Run server +## 2. Check configuration + +```shell +docker run --rm --name goma-gateway \ + -v "${PWD}/config:/etc/goma/" \ + -p 8080:8080 \ + jkaninda/goma-gateway config check --config /etc/goma/config.yml +``` + +### 3. Run server ```shell docker run --rm --name goma-gateway \ @@ -86,7 +95,7 @@ docker run --rm --name goma-gateway \ jkaninda/goma-gateway server ``` -### 3. Start server with a custom config +### 4. Start server with a custom config ```shell docker run --rm --name goma-gateway \ -v "${PWD}/config:/etc/goma/" \ @@ -97,7 +106,8 @@ docker run --rm --name goma-gateway \ ### 4. Healthcheck - Goma Gateway health check: `/health/live` -- Routes health check: `health/routes` +- Routes health check: `/health/routes` + ### 5. Simple deployment in docker compose file diff --git a/docs/install/docker.md b/docs/install/docker.md index 9939168..a341b54 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -27,7 +27,7 @@ docker run --rm --name goma-gateway \ docker run --rm --name goma-gateway \ -v "${PWD}/config:/etc/goma/" \ -p 8080:8080 \ - jkaninda/goma-gateway config config check --config /etc/goma/config.yml + jkaninda/goma-gateway config check --config /etc/goma/config.yml ``` ### 3. Start server with a custom config