Files
MSE-PI-E2EEDA-Plein-de-eeee…/db/README.md
Klagarge 9163fd494b feat(db): add swagger doc
Assisted-by: Junie:gemini-3-flash
Signed-off-by: Klagarge <remi@heredero.ch>
2026-06-04 14:46:31 +02:00

31 lines
599 B
Markdown

# Deployment
1. Create the Influx token offline:
```bash
echo "apiv3_$(openssl rand -base64 64 | tr -d '+/=')" > secrets/admin-token.txt
```
2. Copy `.env.template` to `.env` and change/add value if necessary:
```bash
cp .env.template .env
```
3. Deploy the stack:
```bash
docker compose up -d
```
## Development
### Swagger Documentation
```bash
swag init
```
## Traefik
A traefik config file is available on [traefik.yml](./traefik.yml). It can be used with an OIDC provider ([Authentik](https://github.com/goauthentik/authentik) in our case) to control access to the database explorer.