ADD information about docker in README

This commit is contained in:
Shirkanesi 2024-02-14 11:28:32 +01:00
parent 3c07be0160
commit a7461f6e2c

View File

@ -45,6 +45,20 @@ flask --app jon run --debug
`--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
```