mirror of
https://github.com/multipleof4/git.planetrenox.com.git
synced 2026-01-14 00:17:57 +00:00
Update fly.toml
This commit is contained in:
20
fly.toml
20
fly.toml
@@ -3,21 +3,23 @@ primary_region = "lax"
|
|||||||
|
|
||||||
[build]
|
[build]
|
||||||
dockerfile = "Dockerfile"
|
dockerfile = "Dockerfile"
|
||||||
[build.args]
|
|
||||||
GITEA_APP_NAME = "git-pr"
|
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
GITEA__server__DOMAIN = "${GITEA_APP_NAME}.fly.dev"
|
GITEA__server__DOMAIN = "git-pr.fly.dev"
|
||||||
GITEA__server__ROOT_URL = "https://${GITEA_APP_NAME}.fly.dev/"
|
GITEA__server__ROOT_URL = "https://git-pr.fly.dev/"
|
||||||
|
|
||||||
[[mounts]]
|
[[mounts]]
|
||||||
source = "gitea_data"
|
source = "gitea_data"
|
||||||
destination = "/data"
|
destination = "/data"
|
||||||
|
|
||||||
[http_service]
|
[[services]]
|
||||||
internal_port = 3000
|
internal_port = 3000
|
||||||
force_https = true
|
processes = ["app"]
|
||||||
auto_stop_machines = true
|
protocol = "tcp"
|
||||||
auto_start_machines = true
|
[[services.ports]]
|
||||||
min_machines_running = 0
|
handlers = ["http"]
|
||||||
|
port = 80
|
||||||
|
[[services.ports]]
|
||||||
|
handlers = ["tls", "http"]
|
||||||
|
port = 443
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user