create postgres cluster in a custom network

Hi there,
when creating an app with --network flag, it creates a new custom named network. In order to be able to access postgres cluster i want to create the cluster using the same named custom network, but there is no --network flag on the fly postgres create cli command.
As a workaround you can create and attach an additional ip to the postgres cluster after the postgres cluster was created, which then allows the app to connect to the DATABASE_URL. The command i used for that was: fly ips allocate-v6 --app <postgres-cluster-app-name> --private --network <custom-network-name>

My question is if its possible to directly use the same named network when creating the postgres cluster?

There was already a similar question without an answer some time ago: fly postgres in a named network

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.