diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..128f15b --- /dev/null +++ b/.env.example @@ -0,0 +1,7 @@ +# L1 Server Configuration + +# L2 server URL (for authentication and publishing) +L2_SERVER=https://artdag.rose-ash.com + +# L2 domain for ActivityPub actor IDs (e.g., @user@domain) +L2_DOMAIN=artdag.rose-ash.com diff --git a/docker-compose.yml b/docker-compose.yml index 3448e90..a2efc05 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: