File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,13 +44,19 @@ Key Points:
44441 . ** Deploy on Flux** :
4545 - Add a component for PostgreSQL
4646 - Use the official Docker image: ` runonflux/flux-pg-cluster:latest `
47- - Set environment variables for the PostgreSQL:
47+ - USe the following sample to set the environment variables for the PostgreSQL:
4848 ```
49- APP_NAME=your-app-name
50- POSTGRES_SUPERUSER_PASSWORD=your-super-secret-password
51- POSTGRES_REPLICATION_PASSWORD=your-replication-password
52- SSL_ENABLED=true
53- SSL_PASSPHRASE=your-ssl-passphrase
49+ [
50+ "APP_NAME=your-app-name",
51+ "HOST_POSTGRES_PORT=15432",
52+ "HOST_PATRONI_API_PORT=18008",
53+ "HOST_ETCD_CLIENT_PORT=12379",
54+ "HOST_ETCD_PEER_PORT=12380",
55+ "POSTGRES_SUPERUSER_PASSWORD=your-super-secret-password",
56+ "POSTGRES_REPLICATION_PASSWORD=your-replication-password",
57+ "SSL_ENABLED=true",
58+ "SSL_PASSPHRASE=your-ssl-passphrase"
59+ ]
5460 ```
5561 - Set Container Data for the component to `/var/lib/postgresql/data`
5662
You can’t perform that action at this time.
0 commit comments