Skip to content

Commit

Permalink
docs: replace docker-compose by docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
c100k committed Aug 5, 2024
1 parent 697ce4c commit 71dbbb4
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -53,6 +53,6 @@ curl -v -H "Authorization: supersecret" http://localhost:8080/covfefe/runnables

This is the first release of the spec containing the following endpoints : `list`, `reboot`, `stop`.

To browse the spec, the fastest way is to clone this repository and execute `docker-compose up`. It will spin up [SwaggerUI](https://swagger.io/tools/swagger-ui) connected to a basic noop server.
To browse the spec, the fastest way is to clone this repository and execute `docker compose up`. It will spin up [SwaggerUI](https://swagger.io/tools/swagger-ui) connected to a basic noop server.

You can also import the `swagger.json` file in any compatible tool of your choice (e.g. [Insomnia](https://github.com/Kong/insomnia/releases), [Postman](https://github.com/postmanlabs)).
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ openapitools/openapi-generator-cli:v7.4.0 generate \
-o /app/impl/http-server-go/vendor/openapi

# Run Swagger UI calling the http-server-go (see below for more details)
docker-compose up
docker compose up
```

You can then access http://localhost:9002 via your browser and test the endpoints. See `docker-compose.yml` to have the `apiKey`.

0 comments on commit 71dbbb4

Please sign in to comment.