Skip to content

Commit

Permalink
doc/deploy: docker compose example
Browse files Browse the repository at this point in the history
Signed-off-by: Avelino <avelinorun@gmail.com>
  • Loading branch information
avelino committed Dec 20, 2021
1 parent af99710 commit a0cbf29
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/deployment/docker.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This guide assumes that you already have Postgres running and helps you set up t

In case you’d like to run pREST with a fresh Postgres database, follow this guide to deploy the pREST along with a Postgres instance using _Docker Compose_.

## Deploying pREST using Docker
## Deploying prestd using Docker

**Prerequisites:**

Expand Down Expand Up @@ -61,3 +61,9 @@ Example using **curl:**
```shell
curl -i -X GET http://127.0.0.1:3000/databases -H "Content-Type: application/json"
```

## Docker Compose

> Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration. To learn more about all the features of Compose, see the [list of features](https://docs.docker.com/compose/#features).
{{< emgithub 'https://github.com/prest/prest/blob/main/docker-compose-prod.yml' >}}

0 comments on commit a0cbf29

Please sign in to comment.