File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,15 @@ storage (e.g. HashiCorp Vault) into environment variables in a bootstrap script
213213## Deployment
214214
215215The 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+ ```
You can’t perform that action at this time.
0 commit comments