Skip to content

Commit 9c2f64b

Browse files
committed
chore(compose): flag default compose file as local-testing only
The default docker/docker-compose.yml ships with a hardcoded placeholder BETTER_AUTH_SECRET, SEED_DATA=true (which populates a fake demo-agent with sample token usage on every boot), and the well-known admin@manifest.build / manifest credentials. All three are fine for a localhost quick-start but become a security footgun the moment anyone exposes the instance beyond localhost. This adds a header comment listing the three defaults to change before non-local use, plus an inline comment on the BETTER_AUTH_SECRET line so it is visible right where it's defined. No functional change — the compose file still boots unchanged for first-time readers. Closes #1531.
1 parent 4043fae commit 9c2f64b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker/docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1+
# This compose file is intended for local testing only. Before exposing
2+
# this instance beyond localhost:
3+
# - Replace BETTER_AUTH_SECRET below with a real secret. Generate one
4+
# with: openssl rand -hex 32
5+
# - Set SEED_DATA=false to stop seeding the demo agent on every boot.
6+
# - Change the seeded admin password (admin@manifest.build / manifest).
7+
18
services:
29
manifest:
310
image: manifestdotbuild/manifest:latest
411
ports:
512
- "3001:3001"
613
environment:
714
- DATABASE_URL=postgresql://manifest:manifest@postgres:5432/manifest
15+
# ⚠ Placeholder. Replace before any non-localhost use (see top of file).
816
- BETTER_AUTH_SECRET=change-me-to-a-random-32-char-string!!
917
- BETTER_AUTH_URL=http://localhost:3001
1018
- SEED_DATA=true

0 commit comments

Comments
 (0)