Commit Graph

4 Commits

Author SHA1 Message Date
tes 1b069c6682 Add volcanic-agents token user
Second entry in authorization.users with token auth, no permissions
block (so full admin). Token is supplied via NATS_VOLCANIC_AGENTS_TOKEN
Coolify env var and substituted into the inline config at compose parse
time. Local credentials.local.json (gitignored) holds the connection
details for both users.
2026-08-26 07:08:56 +00:00
tes 8d25c22fc6 Only expose 8080 so Traefik routes to WS, not NATS TCP 2026-08-25 10:08:45 +00:00
tes acd37942e9 Inline NATS config via docker-compose configs
Coolify's compose executor rewrites relative bind mounts to a persistent
app dir with no source file, causing docker to auto-create the mount
target as a directory and fail with "not a directory". Delivering the
config through configs.content instead avoids the rewrite entirely and
lets Docker Compose substitute NATS_USER/NATS_PASSWORD at parse time.
2026-08-25 10:07:05 +00:00
tes 49dcf78529 Add NATS-over-WebSocket compose for Coolify
Configures a single NATS 2.10 service exposing a WebSocket listener on
:8080 (no_tls; Traefik terminates TLS at nats.volcanic.tes.gd) with
env-driven username/password auth and a persisted JetStream store.
2026-08-25 09:37:57 +00:00