fly postgres create

Create a new Postgres cluster


flyctl postgres create [flags]


     --autostart              Automatically start a stopped Postgres app when a network request is received 
     --consul-url             Opt into using an existing consul as the backend store by specifying the target consul url. 
     --detach                 Return immediately instead of monitoring deployment progress 
     --flex                   Create a postgres cluster that's managed by Repmgr 
     --fork-from              Specify a source Postgres application to fork from. Format: <app-name> or <app-name>:<volume-id> 
     --image-ref              Specify a non-default base image for the Postgres app 
     --initial-cluster-size   Initial cluster size 
-n,  --name                   The name of your Postgres app 
-o,  --org                    The target organization 
-p,  --password               The superuser password. The password will be generated for you if you leave this blank 
-r,  --region                 The target region (see 'flyctl platform regions') 
     --snapshot-id            Creates the volume with the contents of the snapshot 
     --stolon                 Create a postgres cluster that's managed by Stolon 
     --vm-size                the size of the VM 
     --volume-size            The volume size in GB 

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output