Skip to content

Commit a5eb52f

Browse files
committed
Update README.md
1 parent e93c69f commit a5eb52f

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,33 @@
2626
### Running
2727

2828
$ docker run th0th/postgres-s3-backup \
29+
-e AWS_ACCESS_KEY_ID=<aws_access_key_id> \
30+
-e AWS_REGION=<aws_region> \
31+
-e AWS_S3_ENDPOINT=<aws_s3_endpoint> \
32+
-e AWS_S3_STORAGE_CLASS=<aws_s3_storage_class[STANDARD_IA]> \
33+
-e AWS_SECRET_ACCESS_KEY=<aws_secret_access_key> \
34+
-e POSTGRES_DB=<database> \
2935
-e POSTGRES_HOST=<postgres_hostname[postgres]> \
36+
-e POSTGRES_PASSWORD=<postgres_password> \
3037
-e POSTGRES_PORT=<postgres_port[5432]> \
3138
-e POSTGRES_USER=<postgres_user[postgres]> \
32-
-e POSTGRES_PASSWORD=<postgres_password> \
33-
-e POSTGRES_DB=<database> \
3439
-e POSTGRES_VERSION=<postgres_version[15]> \
35-
-e AWS_ACCESS_KEY_ID=<aws_access_key_id> \
36-
-e AWS_SECRET_ACCESS_KEY=<aws_secret_access_key> \
37-
-e AWS_S3_STORAGE_CLASS=<aws_s3_storage_class[STANDARD_IA]> \
38-
-e AWS_S3_ENDPOINT=<aws_s3_endpoint> \
3940
-e WEBGAZER_PULSE_URL=<webgazer_pulse_url>
4041

4142
### Example
4243

4344
$ docker run th0th/postgres-s3-backup \
45+
-e AWS_ACCESS_KEY_ID=g9XqNnqKmUk6xqwkStkN \
46+
-e AWS_REGION=eu-west-1 \
47+
-e AWS_S3_ENDPOINT=my-bucket/postgres-backup \
48+
-e AWS_S3_STORAGE_CLASS=GLACIER \
49+
-e AWS_SECRET_ACCESS_KEY=GLBZ8mQf27UL57YHbkLhXWtfJWVwtUBbQup6mFzw \
50+
-e POSTGRES_DB=database \
4451
-e POSTGRES_HOST=postgres \
52+
-e POSTGRES_PASSWORD=postgres_password \
4553
-e POSTGRES_PORT=5432 \
4654
-e POSTGRES_USER=postgres_user \
47-
-e POSTGRES_PASSWORD=postgres_password \
48-
-e POSTGRES_DB=database \
4955
-e POSTGRES_VERSION=15 \
50-
-e AWS_ACCESS_KEY_ID=g9XqNnqKmUk6xqwkStkN \
51-
-e AWS_SECRET_ACCESS_KEY=GLBZ8mQf27UL57YHbkLhXWtfJWVwtUBbQup6mFzw \
52-
-e AWS_S3_ENDPOINT=my-bucket/postgres-backup \
53-
-e AWS_S3_STORAGE_CLASS=GLACIER \
5456
-e WEBGAZER_PULSE_URL=https://pulse.webgazer.io/1-8f713c75d659
5557

5658
## Shameless plug

0 commit comments

Comments
 (0)