feat: add Docker/OpenTofu deployment and DE/NL routing
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Diese Datei nach deploy/.env.production kopieren.
|
||||
# Sie ist zugleich eine POSIX-Shell- und Docker-Compose-kompatible Env-Datei.
|
||||
|
||||
WATERMAPS_DOMAIN=watermaps.incoso.eu
|
||||
WATERMAPS_ACME_EMAIL=REPLACE_WITH_REAL_EMAIL
|
||||
|
||||
# Wird von go-live.sh geprüft. upload-and-deploy.sh übergibt die von OpenTofu
|
||||
# ausgegebene IPv4 automatisch; bei direkter Serverausführung hier eintragen.
|
||||
WATERMAPS_EXPECTED_IPV4=
|
||||
|
||||
# Dauerhafte Routing-Rohdaten und der erzeugte Routingindex.
|
||||
WATERMAPS_DATA_DIR=/srv/watermaps-data
|
||||
|
||||
# Generierte Nginx-Konfiguration und lokale Sperrdateien.
|
||||
WATERMAPS_RUNTIME_DIR=/srv/watermaps-runtime
|
||||
|
||||
# Verhindert Speicherabbrüche beim vollständigen DE/NL-Indexaufbau auf 4-GB-Servern.
|
||||
WATERMAPS_SWAP_SIZE_GB=4
|
||||
|
||||
WATERMAPS_APP_IMAGE=watermaps:production
|
||||
WATERMAPS_NGINX_IMAGE=nginx:1.30.4-alpine
|
||||
WATERMAPS_CERTBOT_IMAGE=certbot/certbot:v5.7.0
|
||||
WATERMAPS_ROUTE_DATA_IMAGE=watermaps-route-data:production
|
||||
|
||||
# Nur auf true setzen, wenn bei jedem Deployment Deutschland und die
|
||||
# Niederlande erneut geprüft und der Routingindex neu gebaut werden sollen.
|
||||
WATERMAPS_REBUILD_ROUTE_DATA=false
|
||||
|
||||
# Für einen Test gegen Let's Encrypt Staging auf true setzen.
|
||||
# Das damit ausgestellte Zertifikat ist im Browser nicht vertrauenswürdig.
|
||||
WATERMAPS_CERTBOT_STAGING=false
|
||||
Reference in New Issue
Block a user