I’m trying to deploy my postgress app with a custom fly.toml (from External Port Configuration) to connect my other fly app to the postgres port.
I thought internal the ports are open to my other apps, but it didn’t work, so i think i have to open the port in order to use it internally (other app, same user)
It loggs:
name@Names-MBP cell-map-analyser-db % fly deploy . --app cell-map-analyser-db --image flyio/postgres:14 --local-only
==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'flyio/postgres:14' locally...
Searching for image 'flyio/postgres:14' remotely...
image found: img_e1zd4mre8nqv02yw
? This feature is highly experimental and may produce unexpected results. Proceed? Yes
Deploying with rolling strategy ✓
But nothing deployes…
When I run it a second time it fails:
name@Names-MBP cell-map-analyser-db % fly deploy . --app cell-map-analyser-db --image flyio/postgres:14
==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'flyio/postgres:14' remotely...
image found: img_e1zd4mre8nqv02yw
? This feature is highly experimental and may produce unexpected results. Proceed? Yes
Deploying with rolling strategy ✓
Error failed to update VM 9e784436f43583: Post "http://[fdaa:0:cea6::3]:4280/v1/apps/cell-map-analyser-db/machines/9e784436f43583": EOF
ALSO building on remote in general doesn’t work:
In my other project (cell-map-analyser-backend) it gets stuck on:
name@Names-MBP cell-map-analyser-backend % fly deploy --remote-only
==> Verifying app config
--> Verified app config
==> Building image
Remote builder fly-builder-autumn-voice-538 ready
==> Creating build context
--> Creating build context done
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
Sending build context to Docker daemon 18.94kB
[+] Building 19.4s (0/1)
=> [internal] load remote build context
So are your remote builders broken, or am I missing something?
Greets!