mirror of
https://github.com/kou029w/minicharge.fly.dev.git
synced 2025-01-18 16:08:17 +00:00
create minicharge.fly.dev project
This commit is contained in:
parent
26a0d8ec37
commit
6b501f281b
5 changed files with 80 additions and 0 deletions
13
.github/workflows/deploy.yml
vendored
Normal file
13
.github/workflows/deploy.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: deploy
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
- run: flyctl deploy --local-only
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
1
Dockerfile
Normal file
1
Dockerfile
Normal file
|
@ -0,0 +1 @@
|
|||
FROM miniflux/miniflux:2.0.37
|
16
README.md
Normal file
16
README.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# minicharge.fly.dev
|
||||
|
||||
## 前提
|
||||
|
||||
- PostgreSQL
|
||||
|
||||
## 構築
|
||||
|
||||
```sh
|
||||
git clone git@github.com:kou029w/minicharge.fly.dev.git
|
||||
curl -L https://fly.io/install.sh | sh
|
||||
flyctl auth login
|
||||
flyctl launch
|
||||
flyctl secrets set DATABASE_URL=postgres://*** # PostgreSQL接続URLを設定
|
||||
flyctl deploy
|
||||
```
|
40
fly.toml
Normal file
40
fly.toml
Normal file
|
@ -0,0 +1,40 @@
|
|||
# fly.toml file generated for minicharge on 2022-07-03T18:59:00+09:00
|
||||
|
||||
app = "minicharge"
|
||||
kill_signal = "SIGINT"
|
||||
kill_timeout = 5
|
||||
processes = []
|
||||
|
||||
[env]
|
||||
LISTEN_ADDR = "0.0.0.0:8080"
|
||||
RUN_MIGRATIONS = "1"
|
||||
|
||||
[experimental]
|
||||
allowed_public_ports = []
|
||||
auto_rollback = true
|
||||
|
||||
[[services]]
|
||||
http_checks = []
|
||||
internal_port = 8080
|
||||
processes = ["app"]
|
||||
protocol = "tcp"
|
||||
script_checks = []
|
||||
[services.concurrency]
|
||||
hard_limit = 25
|
||||
soft_limit = 20
|
||||
type = "connections"
|
||||
|
||||
[[services.ports]]
|
||||
force_https = true
|
||||
handlers = ["http"]
|
||||
port = 80
|
||||
|
||||
[[services.ports]]
|
||||
handlers = ["tls", "http"]
|
||||
port = 443
|
||||
|
||||
[[services.tcp_checks]]
|
||||
grace_period = "1s"
|
||||
interval = "15s"
|
||||
restart_limit = 0
|
||||
timeout = "2s"
|
10
renovate.json
Normal file
10
renovate.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": [
|
||||
"config:base",
|
||||
":automergeAll",
|
||||
":automergeBranch",
|
||||
":skipStatusChecks",
|
||||
"docker:enableMajor",
|
||||
"docker:pinDigests"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue