cargagep-v2/.env
Antoine Pelletier ce88b58003 wip
2026-08-24 17:23:10 +02:00

15 lines
809 B
Bash

# This file is used by dbmate, and by the sqlx macros at compile time.
DATABASE_URL=postgres://postgres:postgres@localhost:5432/cargagep?sslmode=disable
# Read by the backend too: anything named APP__* here reaches the configuration
# exactly like an exported variable would, and a real environment variable still
# wins over this file. This is where the secrets live in development.
#
# The bot that posts to the cargobikes group. Leave both empty and nothing is
# sent — which is what a machine without the bot wants.
# * BOT_TOKEN comes from @BotFather
# * CHAT_ID is the group's id: add the bot to the group, post a message, then
# read it from https://api.telegram.org/bot<token>/getUpdates (a group id is
# negative, e.g. -1001234567890)
APP__TELEGRAM__BOT_TOKEN=
APP__TELEGRAM__CHAT_ID=