48 lines
1.6 KiB
YAML
48 lines
1.6 KiB
YAML
# Copy to config.yml (gitignored) and adapt. Every value can also be given as an
|
|
# environment variable, e.g. APP__SERVER__PORT=3000 — and `.env` is read the same
|
|
# way, which is where the secrets belong in development.
|
|
server:
|
|
address: 0.0.0.0
|
|
port: 3000
|
|
# Public origin the browser reaches the app on; the OIDC redirect uri is built
|
|
# from it. In development this is the vite dev server, not the backend.
|
|
base_url: http://localhost:5000
|
|
|
|
postgres:
|
|
host: localhost
|
|
port: 5432
|
|
user: postgres
|
|
password: postgres
|
|
name: cargagep
|
|
|
|
oidc:
|
|
client_id: cargagep
|
|
client_secret: change-me
|
|
issuer_url: https://hydra.agepoly.ch
|
|
# Minutes
|
|
session_lifetime: 60
|
|
|
|
# The bot that posts to the cargobikes group. Leave the whole section out and
|
|
# nothing is sent, which is what a machine without the bot wants. Both values
|
|
# are secrets: give them through `.env` (APP__TELEGRAM__BOT_TOKEN,
|
|
# APP__TELEGRAM__CHAT_ID) rather than committing them here.
|
|
# telegram:
|
|
# bot_token: "123456:ABC-DEF..."
|
|
# chat_id: "-1001234567890"
|
|
# # Only to point the sender somewhere else than the real bot api
|
|
# api_url: https://api.telegram.org
|
|
|
|
# Linka Go — the locks, the rides and the access list — is configured through plain
|
|
# `LINKA_*` variables in `.env` rather than here: they are the names the platform
|
|
# itself documents. See `.env.example`, and set LINKA_DRY_RUN=1 in development.
|
|
|
|
# Logged in without the provider, debug builds only (POST /api/login)
|
|
dev_users:
|
|
- firstname: Milan
|
|
name: Hyenne
|
|
email: milan.hyenne@epfl.ch
|
|
units:
|
|
- agepoly
|
|
admin: true
|
|
|
|
frontend_dir: frontend/dist
|