From eaa8b09cd26f1e6857bc2c7c20dd48209ea0a72c Mon Sep 17 00:00:00 2001 From: orhun Date: Mon, 9 Aug 2021 23:27:35 +0300 Subject: [PATCH] chore(docker): share the config file between host and container --- README.md | 1 + docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 9512ba1..0028fea 100644 --- a/README.md +++ b/README.md @@ -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 \ diff --git a/docker-compose.yml b/docker-compose.yml index e7a947a..0a738b1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,3 +13,4 @@ services: - "8000:8000" volumes: - ./upload/:/app/upload + - ./config.toml:/app/config.toml