Skip to content

Commit

Permalink
Fixed missing host in API startup script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Aug 27, 2024
1 parent c1c419d commit 8e78350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ x-service-defaults: &service-defaults
services:
api:
<<: *service-defaults
ports:
- "3000:3000"

db:
image: postgres:16
Expand Down
2 changes: 1 addition & 1 deletion script/api
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ config = DocumentTransfer::Config::Application.from_environment

# Configure and start the server.
server = Rackup::Server.new
server.options = server.options.merge(Port: config.port)
server.options = server.options.merge(Port: config.port, Host: '0.0.0.0')
server.start

0 comments on commit 8e78350

Please sign in to comment.