Skip to content

Commit 5a1f122

Browse files
authored
Fixes #1
1 parent efc12bc commit 5a1f122

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,15 @@ storage (e.g. HashiCorp Vault) into environment variables in a bootstrap script
213213
## Deployment
214214

215215
The application can be run as a docker container. You can use `make build-docker` to build the application
216-
into a docker image.
216+
into a docker image. The docker container starts with the `cmd/server/entryscript.sh` script which reads
217+
the `APP_ENV` environment variable to determine which configuration file to use. For example,
218+
if `APP_ENV` is `qa`, the application will be started with the `config/qa.yml` configuration file.
217219

218-
The docker container starts with the `cmd/server/entryscript.sh` script which reads the `APP_ENV` environment
219-
variable to determine which configuration file to use. For example, if `APP_ENV` is `qa`, the application will
220-
be started with the `config/qa.yml` configuration file.
220+
You can also run `make build` to build an executable binary named `server`. Then start the API server using the following
221+
command,
222+
223+
```shell
224+
./server -config=./config/prod.yml
225+
```
226+
227+
```

0 commit comments

Comments
 (0)