chore: add .env.example and wire compose.yml to env vars

- .env.example documents all env vars with defaults (postgres creds, DATABASE_URL, TTLs, pool sizes)
- compose.yml reads postgres credentials and app config from .env via env_file
- .gitignore: track .env.example, ignore .env
This commit is contained in:
achmad
2026-05-10 21:35:31 +07:00
parent 95cab106d8
commit be46add182
3 changed files with 25 additions and 10 deletions
+1 -2
View File
@@ -2,9 +2,8 @@
/goyomi
/cmd/server/server
# Environment
# Environment (copy .env.example → .env and fill in values)
.env
.env.*
# Go tooling
*.test