mirror of
https://github.com/we-promise/sure.git
synced 2026-04-06 22:11:23 +00:00
fix: use port configured in .env (#773)
This commit is contained in:
@@ -21,7 +21,7 @@ services:
|
||||
- ..:/workspace:cached
|
||||
- bundle_cache:/bundle
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- ${PORT:-3000}:3000
|
||||
command: sleep infinity
|
||||
environment:
|
||||
<<: *rails_env
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -106,7 +106,7 @@ services:
|
||||
volumes:
|
||||
- app-storage:/rails/storage
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- ${PORT:-3000}:3000
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
<<: *rails_env
|
||||
|
||||
@@ -50,7 +50,7 @@ services:
|
||||
volumes:
|
||||
- app-storage:/rails/storage
|
||||
ports:
|
||||
- 3000:3000
|
||||
- ${PORT:-3000}:3000
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
<<: *rails_env
|
||||
|
||||
Reference in New Issue
Block a user