Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th committed Jan 15, 2024
1 parent e93c69f commit a5eb52f
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,33 @@
### Running

$ docker run th0th/postgres-s3-backup \
-e AWS_ACCESS_KEY_ID=<aws_access_key_id> \
-e AWS_REGION=<aws_region> \
-e AWS_S3_ENDPOINT=<aws_s3_endpoint> \
-e AWS_S3_STORAGE_CLASS=<aws_s3_storage_class[STANDARD_IA]> \
-e AWS_SECRET_ACCESS_KEY=<aws_secret_access_key> \
-e POSTGRES_DB=<database> \
-e POSTGRES_HOST=<postgres_hostname[postgres]> \
-e POSTGRES_PASSWORD=<postgres_password> \
-e POSTGRES_PORT=<postgres_port[5432]> \
-e POSTGRES_USER=<postgres_user[postgres]> \
-e POSTGRES_PASSWORD=<postgres_password> \
-e POSTGRES_DB=<database> \
-e POSTGRES_VERSION=<postgres_version[15]> \
-e AWS_ACCESS_KEY_ID=<aws_access_key_id> \
-e AWS_SECRET_ACCESS_KEY=<aws_secret_access_key> \
-e AWS_S3_STORAGE_CLASS=<aws_s3_storage_class[STANDARD_IA]> \
-e AWS_S3_ENDPOINT=<aws_s3_endpoint> \
-e WEBGAZER_PULSE_URL=<webgazer_pulse_url>

### Example

$ docker run th0th/postgres-s3-backup \
-e AWS_ACCESS_KEY_ID=g9XqNnqKmUk6xqwkStkN \
-e AWS_REGION=eu-west-1 \
-e AWS_S3_ENDPOINT=my-bucket/postgres-backup \
-e AWS_S3_STORAGE_CLASS=GLACIER \
-e AWS_SECRET_ACCESS_KEY=GLBZ8mQf27UL57YHbkLhXWtfJWVwtUBbQup6mFzw \
-e POSTGRES_DB=database \
-e POSTGRES_HOST=postgres \
-e POSTGRES_PASSWORD=postgres_password \
-e POSTGRES_PORT=5432 \
-e POSTGRES_USER=postgres_user \
-e POSTGRES_PASSWORD=postgres_password \
-e POSTGRES_DB=database \
-e POSTGRES_VERSION=15 \
-e AWS_ACCESS_KEY_ID=g9XqNnqKmUk6xqwkStkN \
-e AWS_SECRET_ACCESS_KEY=GLBZ8mQf27UL57YHbkLhXWtfJWVwtUBbQup6mFzw \
-e AWS_S3_ENDPOINT=my-bucket/postgres-backup \
-e AWS_S3_STORAGE_CLASS=GLACIER \
-e WEBGAZER_PULSE_URL=https://pulse.webgazer.io/1-8f713c75d659

## Shameless plug
Expand Down

0 comments on commit a5eb52f

Please sign in to comment.