fix: use port configured in .env (#773)

This commit is contained in:
Gilles Devillers
2026-01-25 16:02:57 +01:00
committed by GitHub
parent 51d1a8f22b
commit 75bbeed300
5 changed files with 11 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ services:
- ..:/workspace:cached
- bundle_cache:/bundle
ports:
- "3000:3000"
- ${PORT:-3000}:3000
command: sleep infinity
environment:
<<: *rails_env

View File

@@ -1,6 +1,10 @@
# To enable / disable self-hosting features.
SELF_HOSTED = true
# Custom port config
# For users who have other applications listening at 3000, this allows them to set a value puma will listen to.
PORT=3000
# SimpleFIN runtime flags (default-off)
# Accepted truthy values: 1, true, yes, on
# SIMPLEFIN_DEBUG_RAW: when truthy, logs the raw payload returned by SimpleFIN (debug-only; can be noisy)

View File

@@ -1,5 +1,9 @@
SELF_HOSTED=false
# Custom port config
# For users who have other applications listening at 3000, this allows them to set a value puma will listen to.
PORT=3000
# SimpleFIN runtime flags (default-off)
# Accepted truthy values: 1, true, yes, on
# SIMPLEFIN_DEBUG_RAW: when truthy, logs the raw payload returned by SimpleFIN (debug-only; can be noisy)

View File

@@ -106,7 +106,7 @@ services:
volumes:
- app-storage:/rails/storage
ports:
- "3000:3000"
- ${PORT:-3000}:3000
restart: unless-stopped
environment:
<<: *rails_env

View File

@@ -50,7 +50,7 @@ services:
volumes:
- app-storage:/rails/storage
ports:
- 3000:3000
- ${PORT:-3000}:3000
restart: unless-stopped
environment:
<<: *rails_env