Fly apps
This commit is contained in:
parent
47e09e336c
commit
b208357578
2 changed files with 73 additions and 0 deletions
48
fly/gitea/fly.toml
Normal file
48
fly/gitea/fly.toml
Normal file
|
@ -0,0 +1,48 @@
|
|||
# fly.toml app configuration file generated for atrigit on 2024-11-09T01:42:12-07:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = 'atrigit'
|
||||
primary_region = 'sea'
|
||||
kill_timeout = '5s'
|
||||
|
||||
[build]
|
||||
image = 'gitea/gitea:latest'
|
||||
|
||||
[env]
|
||||
GITEA__database__DB_TYPE = 'sqlite3'
|
||||
GITEA__database__PATH = '/data/gitea/gitea.db'
|
||||
GITEA__security__INSTALL_LOCK = 'true'
|
||||
GITEA__server__DOMAIN = 'git.atri.dad'
|
||||
GITEA__server__ROOT_URL = 'https://git.atri.dad'
|
||||
GITEA__server__SSH_DOMAIN = 'git.atri.dad'
|
||||
|
||||
[[mounts]]
|
||||
source = 'gitea_data'
|
||||
destination = '/data'
|
||||
|
||||
[[services]]
|
||||
protocol = 'tcp'
|
||||
internal_port = 22
|
||||
|
||||
[[services.ports]]
|
||||
port = 22
|
||||
|
||||
[[services]]
|
||||
protocol = 'tcp'
|
||||
internal_port = 3000
|
||||
|
||||
[[services.ports]]
|
||||
port = 80
|
||||
handlers = ['http']
|
||||
force_https = true
|
||||
|
||||
[[services.ports]]
|
||||
port = 443
|
||||
handlers = ['tls', 'http']
|
||||
|
||||
[[vm]]
|
||||
memory = '512mb'
|
||||
cpu_kind = 'shared'
|
||||
cpus = 1
|
25
fly/uptimekuma/fly.toml
Normal file
25
fly/uptimekuma/fly.toml
Normal file
|
@ -0,0 +1,25 @@
|
|||
# fly.toml app configuration file generated for atri-uptime on 2024-10-29T00:49:54-06:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = 'atri-uptime'
|
||||
primary_region = 'sea'
|
||||
|
||||
[build]
|
||||
image = 'louislam/uptime-kuma:1'
|
||||
|
||||
[[mounts]]
|
||||
source = 'kuma_data'
|
||||
destination = '/app/data'
|
||||
|
||||
[http_service]
|
||||
internal_port = 3001
|
||||
force_https = true
|
||||
auto_stop_machines = 'off'
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
processes = ['app']
|
||||
|
||||
[[vm]]
|
||||
size = 'shared-cpu-1x'
|
Loading…
Add table
Reference in a new issue