diff --git a/docker-compose.yml b/docker-compose.yml index 3aece86d..7b91697d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.8' +version: "3.8" volumes: postgres: @@ -10,7 +10,7 @@ services: ports: - 8092:80 environment: - DEBUG: true + DEBUG: true postgres: image: "postgres:14-alpine" @@ -82,7 +82,7 @@ services: image: golang:1.23.4-alpine command: go run ./ server healthcheck: - test: [ "CMD", "curl", "-f", "http://127.0.0.1:8080/_healthcheck" ] + test: ["CMD", "curl", "-f", "http://127.0.0.1:8080/_healthcheck"] interval: 10s timeout: 5s retries: 5 @@ -105,13 +105,13 @@ services: PLUGIN_MAGIC_COOKIE: mysupercookie TEMPORAL_INIT_SEARCH_ATTRIBUTES: true STACK_URL: http://gateway:8092 - STACK_PUBLIC_URL: ${STACK_PUBLIC_URL:?mandatory} + STACK_PUBLIC_URL: http://localhost:8080 payments-worker: image: golang:1.23.4-alpine command: go run ./ worker healthcheck: - test: [ "CMD", "curl", "-f", "http://127.0.0.1:8080/_healthcheck" ] + test: ["CMD", "curl", "-f", "http://127.0.0.1:8080/_healthcheck"] interval: 10s timeout: 5s retries: 5 @@ -133,4 +133,4 @@ services: PLUGIN_MAGIC_COOKIE: mysupercookie TEMPORAL_INIT_SEARCH_ATTRIBUTES: false STACK_URL: http://gateway:8092 - STACK_PUBLIC_URL: ${STACK_PUBLIC_URL:?mandatory} + STACK_PUBLIC_URL: http://localhost:8080 diff --git a/docs/api/README.md b/docs/api/README.md index 8f92dbaf..c15967e9 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -25,10 +25,10 @@ Accept: application/json

Responses

-|Status|Meaning|Description|Schema| -|---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Server information|None| -|default|Default|none|None| +| Status | Meaning | Description | Schema | +| ------- | ------------------------------------------------------- | ------------------ | ------ | +| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | Server information | None | +| default | Default | none | None |

Response Schema

@@ -75,9 +75,9 @@ Accept: application/json

Parameters

-|Name|In|Type|Required|Description| -|---|---|---|---|---| -|body|body|[V3CreateAccountRequest](#schemav3createaccountrequest)|false|none| +| Name | In | Type | Required | Description | +| ---- | ---- | ------------------------------------------------------- | -------- | ----------- | +| body | body | [V3CreateAccountRequest](#schemav3createaccountrequest) | false | none | > Example responses @@ -106,10 +106,10 @@ Accept: application/json

Responses

-|Status|Meaning|Description|Schema| -|---|---|---|---| -|201|[Created](https://tools.ietf.org/html/rfc7231#section-6.3.2)|Created|[V3CreateAccountResponse](#schemav3createaccountresponse)| -|default|Default|Error|[V3ErrorResponse](#schemav3errorresponse)| +| Status | Meaning | Description | Schema | +| ------- | ------------------------------------------------------------ | ----------- | --------------------------------------------------------- | +| 201 | [Created](https://tools.ietf.org/html/rfc7231#section-6.3.2) | Created | [V3CreateAccountResponse](#schemav3createaccountresponse) | +| default | Default | Error | [V3ErrorResponse](#schemav3errorresponse) |