doc(db): add deployement documentation
This commit is contained in:
22
db/README.md
Normal file
22
db/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
= Deployement
|
||||
|
||||
1. Create the Influx token offline with a influx3 container:
|
||||
|
||||
```bash
|
||||
echo "apiv3_$(openssl rand -base64 64 | tr -d '+/=')" > secrets/admin-token.txt
|
||||
```
|
||||
|
||||
2. Copy `.env.template` to `.env` and change value if necessary:
|
||||
|
||||
```bash
|
||||
cp .env.template .env
|
||||
```
|
||||
|
||||
3. Deploy the stack:
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
== 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.
|
||||
Reference in New Issue
Block a user