fix: use env_file for all server config

- Move ARTDAG_DOMAIN, ARTDAG_USER, ARTDAG_L1, JWT_SECRET to .env
- Update docker-stack.yml L1 config to use env_file
- Add .env.example with all required variables

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gilesb
2026-01-07 19:31:02 +00:00
parent 0edea7b91b
commit 8159627651
3 changed files with 21 additions and 6 deletions

13
.env.example Normal file
View File

@@ -0,0 +1,13 @@
# L2 Server Configuration
# Domain for this ActivityPub server
ARTDAG_DOMAIN=artdag.rose-ash.com
# Default username (for actor endpoints)
ARTDAG_USER=giles
# L1 server URL (for fetching run data)
ARTDAG_L1=https://l1.artdag.rose-ash.com
# JWT secret for token signing (generate with: openssl rand -hex 32)
JWT_SECRET=your-secret-here-generate-with-openssl-rand-hex-32