Skip to content

Commit

Permalink
Remove unnecessary slashes from docker compose example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
galeaspablo committed Nov 29, 2024
1 parent f84cd9e commit 4e11f52
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ services:
- ./path/to/pgt_proxy/your_tls_private_key.pem:/etc/pgt_proxy/server_tls/key.pem
- ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem
command: [
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \
"--server-port", "5432", \
"--client-connection-host-or-ip", "destination.host.example.amazonaws.com", \
"--client-connection-port", "5432", \
"--client-tls-validation-host", "destination.host.example.amazonaws.com", \
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key",
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem"
"--server-port", "5432"
"--client-connection-host-or-ip", "destination.host.example.amazonaws.com"
"--client-connection-port", "5432"
"--client-tls-validation-host", "destination.host.example.amazonaws.com"
"--client-ca-roots-path", "/etc/pgt_proxy/client_tls/aws_rds/"
]
pgt-proxy-connecting-to-azure-digicert:
Expand All @@ -51,12 +51,12 @@ services:
- ./path/to/pgt_proxy/your_tls_private_key.pem:/etc/pgt_proxy/server_tls/key.pem
- ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem
command: [
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \
"--server-port", "5432", \
"--client-connection-host-or-ip", "destination.host.example.azure.com", \
"--client-connection-port", "5432", \
"--client-tls-validation-host", "destination.host.example.azure.com", \
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key"
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem"
"--server-port", "5432"
"--client-connection-host-or-ip", "destination.host.example.azure.com"
"--client-connection-port", "5432"
"--client-tls-validation-host", "destination.host.example.azure.com"
"--client-ca-roots-path", "/etc/pgt_proxy/client_tls/azure_digicert/"
]
pgt-proxy-connecting-to-database-with-certificate-authorities-trusted-by-firefox-web-browser:
Expand All @@ -67,12 +67,12 @@ services:
- ./path/to/pgt_proxy/your_tls_private_key.pem:/etc/pgt_proxy/server_tls/key.pem
- ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem
command: [
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \
"--server-port", "5432", \
"--client-connection-host-or-ip", "destination.host.example.com", \
"--client-connection-port", "5432", \
"--client-tls-validation-host", "destination.host.example.com", \
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key"
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem"
"--server-port", "5432"
"--client-connection-host-or-ip", "destination.host.example.com"
"--client-connection-port", "5432"
"--client-tls-validation-host", "destination.host.example.com"
"--client-ca-roots-path", "/etc/pgt_proxy/client_tls/firefox/"
]
pgt-proxy-connecting-to-database-with-custom-certificate-authorities:
Expand All @@ -84,12 +84,12 @@ services:
- ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem
- ./path/to/postgres_destination_server/your_certificate_authority_certificates_in_pem_format/:/etc/pgt_proxy/client_tls/custom_cas/
command: [
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \
"--server-port", "5432", \
"--client-connection-host-or-ip", "destination.host.example.com", \
"--client-connection-port", "5432", \
"--client-tls-validation-host", "destination.host.example.com", \
"--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key"
"--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem"
"--server-port", "5432"
"--client-connection-host-or-ip", "destination.host.example.com"
"--client-connection-port", "5432"
"--client-tls-validation-host", "destination.host.example.com"
"--client-ca-roots-path", "/etc/pgt_proxy/client_tls/custom_cas/"
]
```
Expand Down

0 comments on commit 4e11f52

Please sign in to comment.