Fix fly.io depoyment

This commit is contained in:
JP Hastings-Spital 2024-05-01 18:01:33 +01:00
parent 991638e799
commit a9a30d98df
2 changed files with 9 additions and 5 deletions

View file

@ -8,4 +8,4 @@ COPY ./public/ /var/agate/content/
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"]

View file

@ -1,7 +1,5 @@
# fly.toml app configuration file generated for byjp-cc on 2024-04-30T15:16:09+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
# 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.
app = 'byjp-cc'
primary_region = 'lhr'
@ -18,10 +16,16 @@ primary_region = 'lhr'
[[services]]
internal_port = 1965
protocol = "tcp"
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[services.concurrency]
hard_limit = 5000
soft_limit = 4000
type = "connections"
[[services.ports]]
port = 1965