mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 18:06:07 +01:00
Fix fly.io depoyment
This commit is contained in:
parent
991638e799
commit
a9a30d98df
2 changed files with 9 additions and 5 deletions
|
@ -8,4 +8,4 @@ COPY ./public/ /var/agate/content/
|
||||||
|
|
||||||
EXPOSE 1965
|
EXPOSE 1965
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/agate", "--content", "/var/agate/content/", "--addr", "0.0.0.0:1965", "--only-tls13", "--central-conf", "--lang", "en-GB", "--certs", "/var/agate/certificates/", "--hostname", "byjp.cc"]
|
ENTRYPOINT ["/bin/agate", "--content", "/var/agate/content/", "--addr", "0.0.0.0:1965", "--only-tls13", "--central-conf", "--certs", "/var/agate/certificates/", "--hostname", "byjp.cc"]
|
||||||
|
|
12
fly.toml
12
fly.toml
|
@ -1,7 +1,5 @@
|
||||||
# fly.toml app configuration file generated for byjp-cc on 2024-04-30T15:16:09+01:00
|
# Important! This app needs a dedicated IP address to work properly
|
||||||
#
|
# Run `fly ips allocate-v4` after first deploy to buy one, then remove the shared IP and continue.
|
||||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
app = 'byjp-cc'
|
app = 'byjp-cc'
|
||||||
primary_region = 'lhr'
|
primary_region = 'lhr'
|
||||||
|
@ -18,10 +16,16 @@ primary_region = 'lhr'
|
||||||
|
|
||||||
[[services]]
|
[[services]]
|
||||||
internal_port = 1965
|
internal_port = 1965
|
||||||
|
protocol = "tcp"
|
||||||
auto_stop_machines = true
|
auto_stop_machines = true
|
||||||
auto_start_machines = true
|
auto_start_machines = true
|
||||||
min_machines_running = 0
|
min_machines_running = 0
|
||||||
|
|
||||||
|
[services.concurrency]
|
||||||
|
hard_limit = 5000
|
||||||
|
soft_limit = 4000
|
||||||
|
type = "connections"
|
||||||
|
|
||||||
[[services.ports]]
|
[[services.ports]]
|
||||||
port = 1965
|
port = 1965
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue