1
0
Fork 0
mirror of https://github.com/kou029w/http-echo.git synced 2025-01-18 16:08:13 +00:00

create fly.io apps file

This commit is contained in:
Nebel 2020-05-16 17:52:49 +09:00
parent 163aa8a9b3
commit af36d77317
2 changed files with 27 additions and 0 deletions

5
Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM node:alpine
ADD package.json .
RUN npm i
ADD index.js .
CMD ["npm","start"]

22
fly.toml Normal file
View file

@ -0,0 +1,22 @@
app = "http-echo"
[[services]]
internal_port = 8080
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
[[services.ports]]
handlers = ["http"]
port = "80"
[[services.ports]]
handlers = ["tls", "http"]
port = "443"
[[services.tcp_checks]]
interval = 10000
timeout = 2000