I am following the instructions to deploy a pi-hole from:
Stuff Your Pi-Hole From Anywhere · Fly
I am able to launch the app and generate the fly.toml. However, when I try to deploy I get this error message:
Error error connecting to docker: unhandled upstream service error: could not fulfill resource requirements: not enough available dedicated CPUs to fulfill request of 4 cpus
The Dockerfile is exactly the same as on the blog:
FROM pihole/pihole:latest
ENV INTERFACE eth0
ENV DNSMASQ_LISTENING ALL
And the fly.toml is as follows:
fly.toml file generated for ***-pihole-1 on 2021-11-25T15:28:15-05:00
app = “moo-pihole-1”
kill_signal = “SIGINT”
kill_timeout = 5
processes =
[env]
[experimental]
allowed_public_ports =
auto_rollback = true
[[services]]
http_checks =
internal_port = 8080
processes = [“app”]
protocol = “tcp”
script_checks =
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = “connections”
[[services.ports]]
handlers = [“http”]
port = 80
[[services.ports]]
handlers = [“tls”, “http”]
port = 443
[[services.tcp_checks]]
grace_period = “1s”
interval = “15s”
restart_limit = 0
timeout = “2s”
[[services]]
internal_port = 53
protocol = “udp”
[[services.ports]]
port = “53”
I’ve searched the forum and did a quick google search but I haven’t been able to find anyone running into the same issue. Any help would be much appreciated.
Thanks,
Chris