diff --git a/Dockerfile b/Dockerfile index 6226b8a..2dff212 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/compose.yaml b/compose.yaml index c2781fa..632bddf 100644 --- a/compose.yaml +++ b/compose.yaml @@ -4,4 +4,4 @@ services: environment: - RAILS_MASTER_KEY=fd60586db8062a37df97d839311c4c70 ports: - - "7128:80" \ No newline at end of file + - "7128:3000" diff --git a/config/puma.rb b/config/puma.rb index a248513..681f6d8 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -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