fix prod
This commit is contained in:
parent
cf0115d3d2
commit
73fae16858
@ -68,5 +68,5 @@ USER 1000:1000
|
||||
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
|
||||
|
||||
# Start server via Thruster by default, this can be overwritten at runtime
|
||||
EXPOSE 80
|
||||
EXPOSE 3000
|
||||
CMD ["./bin/thrust", "./bin/rails", "server"]
|
||||
|
@ -4,4 +4,4 @@ services:
|
||||
environment:
|
||||
- RAILS_MASTER_KEY=fd60586db8062a37df97d839311c4c70
|
||||
ports:
|
||||
- "7128:80"
|
||||
- "7128:3000"
|
||||
|
@ -28,7 +28,7 @@ threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
|
||||
threads threads_count, threads_count
|
||||
|
||||
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
||||
port ENV.fetch("PORT", 3000)
|
||||
port ENV.fetch("PORT", 7128)
|
||||
|
||||
# Allow puma to be restarted by `bin/rails restart` command.
|
||||
plugin :tmp_restart
|
||||
|
Loading…
x
Reference in New Issue
Block a user