For those of you interested in getting Postgres running, a new “6PN” Postgres example is now available in the fly-examples/postgres repository with the guide coming soon to the docs.
If you’ve got any questions or suggestions, leave them as a reply here.
Based on the Postgres example, I just deployed an instance of Clickhouse with persistent volumes. That was easy
The only limitation I ran into is around exposing multiple secure ports: clickhouse exposes port 9000 for TCP and port 8123 for HTTP. Both are unencrypted by default.
Aside from deploying nginx as reverse proxy, and or bundling certs inside the docker image, am I missing an obvious way to get multiple secure ports configured in fly.toml?
Postgres: A single server deployment for Fly is great but it’s out of date – it uses a command fly init which seems to have been replaced by fly launch, and an --import flag that doesn’t exist (maybe it’s been replaced by --copy-config?)
It is out of date! We should remove that, @shaun soft launched single node Postgres this week so you can just run fly pg create and skip the guide if you’d like: