boxing / boxrec-docker Goto Github PK
View Code? Open in Web Editor NEWDocker version of the boxrec npm package
License: MIT License
Docker version of the boxrec npm package
License: MIT License
I filled out .env with my login, kept the port the same at 8080, then did the following:
Built with docker build -t "boxing/boxrec-docker" .
Ran using docker run -p 8080:8080 boxing/boxrec-docker
Output of 2:
> [email protected] start /usr/src/app
> ts-node -r tsconfig-paths/register src/main.ts
[Nest] 23 - 2020-07-13 16:26 [NestFactory] Starting Nest application...
[Nest] 23 - 2020-07-13 16:26 [InstanceLoader] AppModule dependencies initialized +14ms
[Nest] 23 - 2020-07-13 16:26 [RoutesResolver] LoginController {/login}: +11ms
[Nest] 23 - 2020-07-13 16:26 [RouterExplorer] Mapped {/, POST} route +3ms
[Nest] 23 - 2020-07-13 16:26 [RoutesResolver] BoxerController {/boxer}: +1ms
[Nest] 23 - 2020-07-13 16:26 [RouterExplorer] Mapped {/:id, GET} route +1ms
[Nest] 23 - 2020-07-13 16:26 [RoutesResolver] RatingsController {/ratings}: +1ms
[Nest] 23 - 2020-07-13 16:26 [RouterExplorer] Mapped {/, GET} route +0ms
[Nest] 23 - 2020-07-13 16:26 [RoutesResolver] ScheduleController {/schedule}: +0ms
[Nest] 23 - 2020-07-13 16:26 [RouterExplorer] Mapped {/, GET} route +1ms
[Nest] 23 - 2020-07-13 16:26 [RoutesResolver] ResultsController {/results}: +0ms
[Nest] 23 - 2020-07-13 16:26 [RouterExplorer] Mapped {/, GET} route +1ms
[Nest] 23 - 2020-07-13 16:26 [NestApplication] Nest application successfully started +3ms
running on undefined undefined
./scripts/login.sh
and curl -d "username=XXXX&password=XXXX" 127.0.0.1:8080/login
I get a curl error: curl: (56) Recv failure: Connection reset by peer
. When elaborated with a --ascii-trace
, it says:
== Info: Trying 127.0.0.1:8080...
== Info: Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
=> Send header, 153 bytes (0x99)
0000: POST /login HTTP/1.1
0016: Host: 127.0.0.1:8080
002c: User-Agent: curl/7.71.1
0045: Accept: */*
0052: Content-Length: 40
0066: Content-Type: application/x-www-form-urlencoded
0097:
=> Send data, 40 bytes (0x28)
0000: username=XXXX&password=XXXX
== Info: upload completely sent off: 40 out of 40 bytes
== Info: Recv failure: Connection reset by peer
== Info: Closing connection 0
This happens on master and the 1.1.0 tag. I'm on Arch Linux. Happy to add any extra info as needed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.