Skip to content

Commit

Permalink
Reformat code for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Andmedoctopus committed Sep 3, 2024
1 parent a96ac38 commit 823d185
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,21 @@ Shoobx Mock S3 Server
:alt: Maintainability

This package implements a mock S3 server including bucket shadowing
support. The code is based on the `moto` package by implementing a custom
support. The code is based on the ``moto`` package by implementing a custom
service.

Configure Docker image with environment variables
-------------------------------------------------

If you want to change variable from config use next patter `{section}_{name}_{variable}.` For example you want to change directory for `shoobx:mocks3` section:
If you want to change variable from config use next patter ``{section}_{name}_{variable}.`` For example you want to change directory for ``shoobx:mocks3`` section::

```
[shoobx:mocks3]
log-level = INFO
directory = ./data
[shoobx:mocks3]
log-level = INFO
directory = ./data

[bar:boo]
baz = foo
```
[bar:boo]
baz = foo

To change it use `SHOOBX_MOCKS3_DIRECTORY=/some/path/to/folder`.
To change it use ``SHOOBX_MOCKS3_DIRECTORY=/some/path/to/folder``.

For `baz` accordingly `BAR_BOO_BAZ=MyValue`
For ``baz`` accordingly ``BAR_BOO_BAZ=MyValue``

0 comments on commit 823d185

Please sign in to comment.