Updates, migrations
parent
ff6fce7124
commit
0a861c7585
|
@ -1,61 +1,69 @@
|
||||||
# fly.toml file generated for gitea-mat-services on 2022-07-02T22:14:05-04:00
|
# fly.toml app configuration file generated for gitea-mat-services on 2023-07-24T19:00:34-04:00
|
||||||
|
#
|
||||||
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
|
#
|
||||||
|
|
||||||
app = "gitea-mat-services"
|
app = "gitea-mat-services"
|
||||||
|
primary_region = "ewr"
|
||||||
kill_signal = "SIGINT"
|
kill_signal = "SIGINT"
|
||||||
kill_timeout = 5
|
kill_timeout = "5s"
|
||||||
|
|
||||||
|
[experimental]
|
||||||
|
auto_rollback = true
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
image = "codeberg.org/forgejo/forgejo:1.19.1-0"
|
image = "codeberg.org/forgejo/forgejo:1.20.1-0"
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
GITEA____APP_NAME = "git.mat.services: Git for us"
|
GITEA____APP_NAME = "git.mat.services: Git for us"
|
||||||
GITEA__ui__DEFAULT_THEME = "forgejo-auto"
|
|
||||||
"GITEA__ui.meta__AUTHOR" = "git.mat.services: Git for us"
|
|
||||||
GITEA__database__DB_TYPE = "sqlite3"
|
GITEA__database__DB_TYPE = "sqlite3"
|
||||||
GITEA__database__PATH = "/data/gitea/gitea.db"
|
GITEA__database__PATH = "/data/gitea/gitea.db"
|
||||||
GITEA__server__DOMAIN = "git.mat.services"
|
|
||||||
GITEA__server__SSH_DOMAIN = "git.mat.services"
|
|
||||||
GITEA__server__ROOT_URL = "https://git.mat.services"
|
|
||||||
GITEA__security__INSTALL_LOCK = "true" # Don't show installer
|
|
||||||
GITEA__federation__ENABLED = "true"
|
GITEA__federation__ENABLED = "true"
|
||||||
GITEA__service__DISABLE_REGISTRATION = "false"
|
GITEA__mailer__ENABLED = "false"
|
||||||
GITEA__service__REGISTER_MANUAL_CONFIRM = "true"
|
GITEA__mailer__FROM = "noreply@git.mat.services"
|
||||||
|
GITEA__mailer__PROTOCOL = "sendmail"
|
||||||
|
GITEA__mailer__SUBJECT_PREFIX = "git.mat.services"
|
||||||
|
GITEA__security__INSTALL_LOCK = "true"
|
||||||
|
GITEA__server__DOMAIN = "git.mat.services"
|
||||||
|
GITEA__server__ROOT_URL = "https://git.mat.services"
|
||||||
|
GITEA__server__SSH_DOMAIN = "git.mat.services"
|
||||||
GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE = "true"
|
GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE = "true"
|
||||||
GITEA__service__DEFAULT_USER_IS_RESTRICTED = "true"
|
GITEA__service__DEFAULT_USER_IS_RESTRICTED = "true"
|
||||||
# sendmail isnt working in the fly vm
|
GITEA__service__DISABLE_REGISTRATION = "false"
|
||||||
GITEA__service__REGISTER_EMAIL_CONFIRM = "false"
|
GITEA__service__REGISTER_EMAIL_CONFIRM = "false"
|
||||||
GITEA__mailer__ENABLED = "false"
|
GITEA__service__REGISTER_MANUAL_CONFIRM = "true"
|
||||||
GITEA__mailer__PROTOCOL = "sendmail"
|
"GITEA__ui.meta__AUTHOR" = "git.mat.services: Git for us"
|
||||||
GITEA__mailer__FROM = "noreply@git.mat.services"
|
GITEA__ui__DEFAULT_THEME = "forgejo-auto"
|
||||||
GITEA__mailer__SUBJECT_PREFIX = "git.mat.services"
|
|
||||||
|
|
||||||
[experimental]
|
[[mounts]]
|
||||||
allowed_public_ports = []
|
|
||||||
auto_rollback = true
|
|
||||||
|
|
||||||
[mounts]
|
|
||||||
destination = "/data"
|
|
||||||
source = "gitea_data"
|
source = "gitea_data"
|
||||||
|
destination = "/data"
|
||||||
|
processes = ["app"]
|
||||||
|
|
||||||
# ssh traffic
|
|
||||||
[[services]]
|
[[services]]
|
||||||
internal_port = 22
|
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
|
internal_port = 22
|
||||||
|
|
||||||
[[services.ports]]
|
[[services.ports]]
|
||||||
port = 22
|
port = 22
|
||||||
|
[services.concurrency]
|
||||||
|
type = "connections"
|
||||||
|
hard_limit = 25
|
||||||
|
soft_limit = 20
|
||||||
|
|
||||||
# https traffic
|
|
||||||
[[services]]
|
[[services]]
|
||||||
internal_port = 3000
|
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
|
internal_port = 3000
|
||||||
|
|
||||||
[[services.ports]]
|
[[services.ports]]
|
||||||
|
port = 80
|
||||||
handlers = ["http"]
|
handlers = ["http"]
|
||||||
force_https = true
|
force_https = true
|
||||||
port = 80
|
|
||||||
|
|
||||||
[[services.ports]]
|
[[services.ports]]
|
||||||
handlers = ["tls", "http"]
|
|
||||||
port = 443
|
port = 443
|
||||||
|
handlers = ["tls", "http"]
|
||||||
|
[services.concurrency]
|
||||||
|
type = "connections"
|
||||||
|
hard_limit = 25
|
||||||
|
soft_limit = 20
|
||||||
|
|
|
@ -1,8 +1,15 @@
|
||||||
# fly.toml file generated for goatcounter-mat-services on 2022-09-03T21:18:21-04:00
|
# fly.toml app configuration file generated for goatcounter-mat-services on 2023-07-24T19:04:47-04:00
|
||||||
|
#
|
||||||
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
|
#
|
||||||
|
|
||||||
app = "goatcounter-mat-services"
|
app = "goatcounter-mat-services"
|
||||||
|
primary_region = "ewr"
|
||||||
kill_signal = "SIGINT"
|
kill_signal = "SIGINT"
|
||||||
kill_timeout = 5
|
kill_timeout = "5s"
|
||||||
|
|
||||||
|
[experimental]
|
||||||
|
auto_rollback = true
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
GOATCOUNTER_DB = "sqlite+/data/goatcounter.sqlite3"
|
GOATCOUNTER_DB = "sqlite+/data/goatcounter.sqlite3"
|
||||||
|
@ -12,36 +19,31 @@ kill_timeout = 5
|
||||||
GOATCOUNTER_LISTEN = "0.0.0.0:8080"
|
GOATCOUNTER_LISTEN = "0.0.0.0:8080"
|
||||||
GOATCOUNTER_SMTP = ""
|
GOATCOUNTER_SMTP = ""
|
||||||
|
|
||||||
[experimental]
|
[[mounts]]
|
||||||
allowed_public_ports = []
|
|
||||||
auto_rollback = true
|
|
||||||
|
|
||||||
[mounts]
|
|
||||||
destination = "/data"
|
|
||||||
source = "goatcounter_data"
|
source = "goatcounter_data"
|
||||||
|
destination = "/data"
|
||||||
|
processes = ["app"]
|
||||||
|
|
||||||
[[services]]
|
[[services]]
|
||||||
http_checks = []
|
protocol = "tcp"
|
||||||
internal_port = 8080
|
internal_port = 8080
|
||||||
processes = ["app"]
|
processes = ["app"]
|
||||||
protocol = "tcp"
|
|
||||||
script_checks = []
|
[[services.ports]]
|
||||||
|
port = 80
|
||||||
|
handlers = ["http"]
|
||||||
|
force_https = true
|
||||||
|
|
||||||
|
[[services.ports]]
|
||||||
|
port = 443
|
||||||
|
handlers = ["tls", "http"]
|
||||||
[services.concurrency]
|
[services.concurrency]
|
||||||
|
type = "connections"
|
||||||
hard_limit = 25
|
hard_limit = 25
|
||||||
soft_limit = 20
|
soft_limit = 20
|
||||||
type = "connections"
|
|
||||||
|
|
||||||
[[services.ports]]
|
|
||||||
force_https = true
|
|
||||||
handlers = ["http"]
|
|
||||||
port = 80
|
|
||||||
|
|
||||||
[[services.ports]]
|
|
||||||
handlers = ["tls", "http"]
|
|
||||||
port = 443
|
|
||||||
|
|
||||||
[[services.tcp_checks]]
|
[[services.tcp_checks]]
|
||||||
grace_period = "1s"
|
|
||||||
interval = "15s"
|
interval = "15s"
|
||||||
restart_limit = 0
|
|
||||||
timeout = "2s"
|
timeout = "2s"
|
||||||
|
grace_period = "1s"
|
||||||
|
restart_limit = 0
|
||||||
|
|
Loading…
Reference in New Issue