- 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>
26 lines
458 B
YAML
26 lines
458 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
l2-server:
|
|
image: git.rose-ash.com/art-dag/l2-server:latest
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- ARTDAG_DATA=/data/l2
|
|
# ARTDAG_DOMAIN, ARTDAG_USER, ARTDAG_L1, JWT_SECRET from .env file
|
|
volumes:
|
|
- l2_data:/data/l2
|
|
networks:
|
|
- externalnet
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
|
|
volumes:
|
|
l2_data:
|
|
|
|
networks:
|
|
externalnet:
|
|
external: true
|