ADD information about docker in README
This commit is contained in:
parent
3c07be0160
commit
a7461f6e2c
14
README.md
14
README.md
@ -45,6 +45,20 @@ flask --app jon run --debug
|
|||||||
|
|
||||||
`--debug` restarts the server when a source file changes.
|
`--debug` restarts the server when a source file changes.
|
||||||
|
|
||||||
|
## Running with docker
|
||||||
|
When you prefer running the application using docker you can just use
|
||||||
|
```
|
||||||
|
docker compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
In case your local username does not line up with your FSMI-username, you need to specify your FSMI-username
|
||||||
|
using `USER=<username>`, e.g.:
|
||||||
|
```
|
||||||
|
USER=shirkanesi docker compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
This can also be persisted by following the instructions in the docker-compose.yml
|
||||||
|
|
||||||
## fsmi-db forward
|
## fsmi-db forward
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user