Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
afae79b
Customizable ports
N2D4 Oct 17, 2025
8a76453
Update
N2D4 Oct 17, 2025
4433317
fix types
N2D4 Oct 17, 2025
915252d
fix lint
N2D4 Oct 17, 2025
f4e3b9a
Merge branch 'dev' into customizable-ports
N2D4 Oct 17, 2025
eb5662c
Update title
N2D4 Oct 17, 2025
a20ccaa
fix tests
N2D4 Oct 17, 2025
8e880cc
more fixes
N2D4 Oct 17, 2025
4caefb1
more fixes
N2D4 Oct 17, 2025
0550e2f
fix
N2D4 Oct 17, 2025
60410a3
fix
N2D4 Oct 17, 2025
f441c50
better
N2D4 Oct 17, 2025
2c04b0a
fix
N2D4 Oct 17, 2025
abdad07
No more config twiddling
N2D4 Oct 17, 2025
faf2157
chore(docs): update TOC
N2D4 Oct 17, 2025
184e9e6
Rename envvar
N2D4 Oct 17, 2025
d6ed716
fixes
N2D4 Oct 17, 2025
7c4c8ba
Merge branch 'dev' into customizable-ports
N2D4 Oct 17, 2025
8400777
more
N2D4 Oct 17, 2025
5c2a55c
fixes
N2D4 Oct 17, 2025
51860cc
fixes
N2D4 Oct 17, 2025
3774341
fixes
N2D4 Oct 17, 2025
14eafbb
fix
N2D4 Oct 17, 2025
f1d479a
more test fixes
N2D4 Oct 17, 2025
30f5592
fix
N2D4 Oct 17, 2025
52c398d
fix
N2D4 Oct 17, 2025
7ccc830
fix wildcard domains test
N2D4 Oct 17, 2025
cab12f0
stuff
N2D4 Oct 17, 2025
434d1bf
fix emulator
N2D4 Oct 17, 2025
c796ebf
Customizable ports docs
N2D4 Oct 17, 2025
0f5c776
disable emulator workflow
N2D4 Oct 17, 2025
7c699a5
improve process names
N2D4 Oct 17, 2025
8e4574e
Merge dev into customizable-ports
N2D4 Oct 18, 2025
f42efeb
Merge dev into customizable-ports
N2D4 Oct 19, 2025
75c2595
Merge branch 'dev' into customizable-ports
N2D4 Oct 20, 2025
76ef55f
REmove ppr
N2D4 Oct 20, 2025
ba0ec30
Merge branch 'dev' into customizable-ports
N2D4 Oct 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix emulator
  • Loading branch information
N2D4 committed Oct 17, 2025
commit 434d1bfc6364570524db43204cde3156fbd0c322
10 changes: 5 additions & 5 deletions docker/emulator/docker.compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
STACK_SVIX_API_KEY: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NTUxNDA2MzksImV4cCI6MTk3MDUwMDYzOSwibmJmIjoxNjU1MTQwNjM5LCJpc3MiOiJzdml4LXNlcnZlciIsInN1YiI6Im9yZ18yM3JiOFlkR3FNVDBxSXpwZ0d3ZFhmSGlyTXUifQ.En8w77ZJWbd0qrMlHHupHUB-4cx17RfzFykseg95SUk"
NEXT_PUBLIC_STACK_INBUCKET_WEB_URL: "http://localhost:32203"
STACK_EMAIL_HOST: "inbucket"
STACK_EMAIL_PORT: 8129
STACK_EMAIL_PORT: 2500
STACK_EMAIL_SECURE: "false"
STACK_EMAIL_USERNAME: "none"
STACK_EMAIL_PASSWORD: "none"
Expand Down Expand Up @@ -81,15 +81,15 @@ services:

db:
image: postgres:15
command: ["postgres", "-c", "port=8128"]
command: ["postgres", "-c"]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
command: ["postgres", "-c"]
# Removed incomplete -c flag - see git history for original port configuration

PostgreSQL command is incomplete and will cause the container to fail on startup. The -c flag requires a configuration parameter but none is provided.

View Details

Analysis

Incomplete PostgreSQL -c flag causes container startup failure

What fails: PostgreSQL container in docker/emulator/docker.compose.yaml line 84 has incomplete command ["postgres", "-c"] causing startup failure with "postgres: option requires an argument -- 'c'" error

How to reproduce:

# Start the Docker compose stack:
cd docker/emulator && docker-compose up db

Result: Container exits immediately with non-zero exit code. PostgreSQL fails with "postgres: option requires an argument -- 'c'" per PostgreSQL server documentation

Expected: Container should start successfully. Git history shows this was originally ["postgres", "-c", "port=8128"] but port=8128 parameter was accidentally removed while leaving the incomplete -c flag

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Missing Configuration Parameter Causes PostgreSQL Failure

The db service's postgres command is incomplete. The -c flag expects a configuration parameter, but none is provided, causing the PostgreSQL container to fail to start.

Fix in Cursor Fix in Web

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: PostgreSQL Container Missing Configuration Parameter

The PostgreSQL container's command: ["postgres", "-c"] is incomplete. The -c flag expects a configuration parameter, but none is provided, which prevents PostgreSQL from starting.

Fix in Cursor Fix in Web

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Incomplete PostgreSQL Configuration Command

The db service's command: ["postgres", "-c"] is incomplete. The -c flag expects a configuration parameter, but none is provided, which causes the PostgreSQL container to fail to start.

Fix in Cursor Fix in Web

environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: PASSWORD-PLACEHOLDER--uqfEC1hmmv
POSTGRES_DB: stackframe
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -p 8128 -d stackframe"]
test: ["CMD-SHELL", "pg_isready -p 5432 -d stackframe"]
interval: 5s
timeout: 10s
retries: 5
Expand All @@ -99,8 +99,8 @@ services:
inbucket:
image: inbucket/inbucket:latest
environment:
INBUCKET_SMTP_ADDR: ":8129"
INBUCKET_POP3_ADDR: ":8130"
INBUCKET_SMTP_ADDR: ":2500"
INBUCKET_POP3_ADDR: ":1100"
ports:
- 32203:9000
volumes:
Expand Down
Loading