mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2025-01-31 04:52:37 -05:00
chore(docker): share the config file between host and container
This commit is contained in:
parent
d0abe50679
commit
eaa8b09cd2
2 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ Following command can be used to run a container which is built from the [Docker
|
||||||
```sh
|
```sh
|
||||||
$ docker run --rm -d \
|
$ docker run --rm -d \
|
||||||
-v "$(pwd)/upload/":/app/upload \
|
-v "$(pwd)/upload/":/app/upload \
|
||||||
|
-v "$(pwd)/config.toml":/app/config.toml \
|
||||||
--env-file "$(pwd)/.env" \
|
--env-file "$(pwd)/.env" \
|
||||||
-e "RUST_LOG=debug" \
|
-e "RUST_LOG=debug" \
|
||||||
-p 8000:8000 \
|
-p 8000:8000 \
|
||||||
|
|
|
@ -13,3 +13,4 @@ services:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./upload/:/app/upload
|
- ./upload/:/app/upload
|
||||||
|
- ./config.toml:/app/config.toml
|
||||||
|
|
Loading…
Reference in a new issue