nixfiles/pkgs/build-worker-oci/ams/fly.toml

159 lines
2.7 KiB
TOML
Raw Normal View History

2024-08-21 21:37:19 +02:00
app = 'build-worker-kyoumanet'
primary_region = 'ams'
[build]
image = 'registry.fly.io/build-worker-kyoumanet:latest'
[processes]
2024-11-21 00:51:39 +01:00
bw-00 = '/entrypoint.sh'
2024-08-21 21:37:19 +02:00
bw-01 = '/entrypoint.sh'
bw-02 = '/entrypoint.sh'
bw-03 = '/entrypoint.sh'
bw-04 = '/entrypoint.sh'
2024-10-10 21:43:11 +02:00
bw-05 = '/entrypoint.sh'
bw-06 = '/entrypoint.sh'
bw-07 = '/entrypoint.sh'
bw-08 = '/entrypoint.sh'
2024-08-21 21:37:19 +02:00
2024-11-21 00:51:39 +01:00
[[mounts]]
source = 'bw00'
destination = '/mnt/data'
initial_size = '256GB'
processes = ['bw-00']
2024-08-21 21:37:19 +02:00
[[mounts]]
source = 'bw01'
destination = '/mnt/data'
2024-11-21 00:51:39 +01:00
initial_size = '256GB'
2024-08-21 21:37:19 +02:00
processes = ['bw-01']
[[mounts]]
source = 'bw02'
destination = '/mnt/data'
2024-11-21 00:51:39 +01:00
initial_size = '256GB'
2024-08-21 21:37:19 +02:00
processes = ['bw-02']
[[mounts]]
source = 'bw03'
destination = '/mnt/data'
2024-11-21 00:51:39 +01:00
initial_size = '256GB'
2024-08-21 21:37:19 +02:00
processes = ['bw-03']
[[mounts]]
source = 'bw04'
destination = '/mnt/data'
2024-11-21 00:51:39 +01:00
initial_size = '256GB'
2024-08-21 21:37:19 +02:00
processes = ['bw-04']
2024-10-10 21:43:11 +02:00
[[mounts]]
source = 'bw05'
destination = '/mnt/data'
initial_size = '256GB'
processes = ['bw-05']
[[mounts]]
source = 'bw06'
destination = '/mnt/data'
initial_size = '256GB'
processes = ['bw-06']
[[mounts]]
source = 'bw07'
destination = '/mnt/data'
initial_size = '256GB'
processes = ['bw-07']
[[mounts]]
source = 'bw08'
destination = '/mnt/data'
initial_size = '256GB'
processes = ['bw-08']
2024-11-21 00:51:39 +01:00
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-00']
[[services.ports]]
port = 2200
2024-08-21 21:37:19 +02:00
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-01']
[[services.ports]]
port = 2201
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-02']
[[services.ports]]
port = 2202
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-03']
[[services.ports]]
port = 2203
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-04']
[[services.ports]]
port = 2204
2024-10-10 21:43:11 +02:00
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-05']
[[services.ports]]
port = 2205
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-06']
[[services.ports]]
port = 2206
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-07']
[[services.ports]]
port = 2207
[[services]]
protocol = 'tcp'
internal_port = 2222
auto_stop_machines = 'off'
processes = ['bw-08']
[[services.ports]]
port = 2208
2024-08-21 21:37:19 +02:00
[[restart]]
policy = 'never'
[[vm]]
size = 'performance-16x'
2024-10-10 18:06:11 +02:00
memory = '96GB'