Reverted commit 088a2e72b8
This commit is contained in:
parent
088a2e72b8
commit
9ef535b655
3 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ http {
|
||||||
# }
|
# }
|
||||||
|
|
||||||
location /graphql {
|
location /graphql {
|
||||||
proxy_pass http://backend;
|
proxy_pass http://backend:8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /adminer {
|
location /adminer {
|
||||||
|
|
|
@ -32,5 +32,5 @@ FROM scratch as runner
|
||||||
COPY --from=micrate-builder /app/bin/micrate /bin/micrate
|
COPY --from=micrate-builder /app/bin/micrate /bin/micrate
|
||||||
COPY --from=builder /app/bin/mw /bin/mw
|
COPY --from=builder /app/bin/mw /bin/mw
|
||||||
COPY ./db ./db
|
COPY ./db ./db
|
||||||
EXPOSE 80
|
EXPOSE 8080
|
||||||
CMD [ "mw" ]
|
CMD [ "mw" ]
|
||||||
|
|
|
@ -4,8 +4,8 @@ module MW
|
||||||
extend self
|
extend self
|
||||||
|
|
||||||
def run : Nil
|
def run : Nil
|
||||||
Server.run(80, [HTTP::LogHandler.new, HTTP::ErrorHandler.new]) do |server|
|
Server.run(8080, [HTTP::LogHandler.new, HTTP::ErrorHandler.new]) do |server|
|
||||||
address = server.bind_tcp("0.0.0.0", 80, true)
|
address = server.bind_tcp("0.0.0.0", 8080, true)
|
||||||
puts "Listening on http://#{address}"
|
puts "Listening on http://#{address}"
|
||||||
server.listen
|
server.listen
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue