Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flybot] Fly CLI docs update #1941

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 23 additions & 17 deletions flyctl/cmd/fly_postgres_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,29 @@ fly postgres create [flags]
## Options

~~~
--autostart Automatically start a stopped Postgres app when a network request is received
--consul-url string Opt into using an existing consul as the backend store by specifying the target consul url.
--detach Return immediately instead of monitoring deployment progress
--enable-backups Create a new tigris bucket and enable WAL-based backups
--flex Create a postgres cluster that's managed by Repmgr (default true)
--fork-from string Specify a source Postgres application to fork from. Format: <app-name> or <app-name>:<volume-id>
-h, --help help for create
--image-ref string Specify a non-default base image for the Postgres app
--initial-cluster-size int Initial cluster size
-n, --name string The name of your Postgres app
-o, --org string The target Fly.io organization
-p, --password string The superuser password. The password will be generated for you if you leave this blank
-r, --region string The target region (see 'flyctl platform regions')
--snapshot-id string Creates the volume with the contents of the snapshot
--stolon Create a postgres cluster that's managed by Stolon
--vm-size string the size of the VM
--volume-size int The volume size in GB
--autostart Automatically start a stopped Postgres app when a network request is received
--consul-url string Opt into using an existing consul as the backend store by specifying the target consul url.
--detach Return immediately instead of monitoring deployment progress
--enable-backups Create a new tigris bucket and enable WAL-based backups
--flex Create a postgres cluster that's managed by Repmgr (default true)
--fork-from string Specify a source Postgres application to fork from. Format: <app-name> or <app-name>:<volume-id>
-h, --help help for create
--host-dedication-id string The dedication id of the reserved hosts for your organization (if any)
--image-ref string Specify a non-default base image for the Postgres app
--initial-cluster-size int Initial cluster size
-n, --name string The name of your Postgres app
-o, --org string The target Fly.io organization
-p, --password string The superuser password. The password will be generated for you if you leave this blank
-r, --region string The target region (see 'flyctl platform regions')
--snapshot-id string Creates the volume with the contents of the snapshot
--stolon Create a postgres cluster that's managed by Stolon
--vm-cpu-kind string The kind of CPU to use ('shared' or 'performance')
--vm-cpus int Number of CPUs
--vm-gpu-kind string If set, the GPU model to attach (a100-pcie-40gb, a100-sxm4-80gb, l40s, a10, none)
--vm-gpus int Number of GPUs. Must also choose the GPU model with --vm-gpu-kind flag
--vm-memory string Memory (in megabytes) to attribute to the VM
--vm-size string The VM size to set machines to. See "fly platform vm-sizes" for valid values
--volume-size int The volume size in GB
~~~

## Global Options
Expand Down