Eliminate ${VAR} substitutions from docker-compose.yml
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m9s

Move DATABASE_URL, ADMIN_TOKEN, ARTDAG_CLUSTER_KEY to .env
and use env_file on all services. This means docker stack deploy
no longer needs env vars sourced in the shell, and repeat deploys
won't trigger spurious restarts on unchanged services.

GPU worker gets its own .env.gpu with fully resolved cross-VPC URLs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-06 22:06:38 +00:00
parent 6e8e8f8de9
commit f5ef9cddd2
3 changed files with 19 additions and 34 deletions

11
.env.gpu Normal file
View File

@@ -0,0 +1,11 @@
# GPU worker env - connects to L1 host via public IP (cross-VPC)
REDIS_URL=redis://138.68.142.139:16379/5
DATABASE_URL=postgresql://artdag:f960bcc61d8b2155a1d57f7dd72c1c58@138.68.142.139:15432/artdag
IPFS_API=/ip4/138.68.142.139/tcp/15001
IPFS_GATEWAYS=https://ipfs.io,https://cloudflare-ipfs.com,https://dweb.link
IPFS_GATEWAY_URL=https://celery-artdag.rose-ash.com/ipfs
CACHE_DIR=/data/cache
C_FORCE_ROOT=true
ARTDAG_CLUSTER_KEY=
NVIDIA_VISIBLE_DEVICES=all
STREAMING_GPU_PERSIST=0