fix: use env_file for L2 server config

- Add env_file support for L2_SERVER and L2_DOMAIN
- Fix typo in L2_SERVER URL (ros-ash -> rose-ash)
- Add .env.example with 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:29:40 +00:00
parent 917146a7f3
commit 223568df3f
2 changed files with 10 additions and 1 deletions

View File

@@ -14,10 +14,12 @@ services:
l1-server:
image: git.rose-ash.com/art-dag/l1-server:latest
env_file:
- .env
environment:
- REDIS_URL=redis://redis:6379/5
- CACHE_DIR=/data/cache
- L2_SERVER=http://activitypub_l2-server:8200
# L2_SERVER and L2_DOMAIN from .env file
volumes:
- l1_cache:/data/cache
depends_on: