Skip to content

Commit 4dec02f

Browse files
authored
fix(readme): Update run command (#189)
The args parser `argh` doesn't support global options, so we have to provide the config before the `run` command
1 parent d7afc03 commit 4dec02f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ docker run -d \
5656
--volume data-volume:/data \
5757
--publish 127.0.0.1:8888:8888 \
5858
ghcr.io/getsentry/objectstore:latest \
59-
run -c /etc/objectstore/config.yaml
59+
--config /etc/objectstore/config.yaml run
6060
```
6161

6262
The command above assumes a configuration file named `config.yaml` in the current
@@ -231,7 +231,7 @@ reason, we do **not** provide default configuration variables in `.envrc`.
231231

232232
```sh
233233
# Option 1: Configuration file
234-
cargo run -- run -c objectstore-server/config/local.example.yaml
234+
cargo run -- -c objectstore-server/config/local.example.yaml run
235235
236236
# Option 2: Environment variables
237237
export FSS_HIGH_VOLUME_STORAGE__TYPE=filesystem

0 commit comments

Comments
 (0)