mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +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
|
||||
|
||||
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
|
||||
#
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue