chore(docker): share the config file between host and container

This commit is contained in:
orhun 2021-08-09 23:27:35 +03:00
parent d0abe50679
commit eaa8b09cd2
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
2 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ Following command can be used to run a container which is built from the [Docker
```sh
$ docker run --rm -d \
-v "$(pwd)/upload/":/app/upload \
-v "$(pwd)/config.toml":/app/config.toml \
--env-file "$(pwd)/.env" \
-e "RUST_LOG=debug" \
-p 8000:8000 \

View File

@ -13,3 +13,4 @@ services:
- "8000:8000"
volumes:
- ./upload/:/app/upload
- ./config.toml:/app/config.toml