Skip to content

Commit

Permalink
Update README.md with Docker container logging parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxhy authored Dec 19, 2023
1 parent 3c894a7 commit 5075596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ It can be used as a standalone microservice and is maintained/distributed as a c
## With Docker
* Install [Docker](https://docs.docker.com/engine/install/)
* `docker pull leosac/leosac-card-printing-worker:snapshot`
* `docker create --name leosac-cpw --init -p 4000:4000 -v /var/local/lcpw-repo:/data/repository leosac/leosac-card-printing-worker:snapshot`
* `docker create --name leosac-cpw --init -p 4000:4000 -v /var/local/lcpw/repo:/data/repository leosac/leosac-card-printing-worker:snapshot`
* To log traces into a file instead of the console output, add the following parameters to the previous docker create command: `-v /var/local/lcpw/logs:/data/logs -e LOGGING_TYPE=file -e LOGGING_LEVEL=http`
* `docker start leosac-cpw`

# Configuration
Expand Down

0 comments on commit 5075596

Please sign in to comment.