first commit

This commit is contained in:
2026-08-17 12:18:05 +07:00
commit 261440c694
12 changed files with 576 additions and 0 deletions

28
.env.example Normal file
View File

@@ -0,0 +1,28 @@
# Public TLS certificate registration address.
ACME_EMAIL=admin@malenia.space
# Pin the custom Caddy base image version used during build.
CADDY_VERSION=2.10.2
# PostgreSQL. Keep the database accessible only through the Docker private network.
POSTGRES_USER=malenia
POSTGRES_PASSWORD=replace-with-a-long-random-password
POSTGRES_DB=malenia
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# Backend key files. Set an absolute VPS path in production, for example /opt/malenia/keys.
KEYS_DIR=./keys
PRIVATE_KEY_FP=/run/secrets/keys/private.pem
PUBLIC_KEY_FP=/run/secrets/keys/public.pem
# Application secrets and integrations. Do not commit the production .env file.
ACCESS_TOKEN_TTL=60
PALLY_SHOP_ID=
PALLY_TOKEN=
REMNAWAVE_BASE_URL=
REMNAWAVE_SUB_URL=
REMNAWAVE_TOKEN=
REMNAWAVE_DEFAULT_SQUADS_UUIDS=
MINIMAL_DEPOSIT=0
REFERAL_BONUS=30