|
26 | 26 | ### Running |
27 | 27 |
|
28 | 28 | $ 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> \ |
29 | 35 | -e POSTGRES_HOST=<postgres_hostname[postgres]> \ |
| 36 | + -e POSTGRES_PASSWORD=<postgres_password> \ |
30 | 37 | -e POSTGRES_PORT=<postgres_port[5432]> \ |
31 | 38 | -e POSTGRES_USER=<postgres_user[postgres]> \ |
32 | | - -e POSTGRES_PASSWORD=<postgres_password> \ |
33 | | - -e POSTGRES_DB=<database> \ |
34 | 39 | -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> \ |
39 | 40 | -e WEBGAZER_PULSE_URL=<webgazer_pulse_url> |
40 | 41 |
|
41 | 42 | ### Example |
42 | 43 |
|
43 | 44 | $ 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 \ |
44 | 51 | -e POSTGRES_HOST=postgres \ |
| 52 | + -e POSTGRES_PASSWORD=postgres_password \ |
45 | 53 | -e POSTGRES_PORT=5432 \ |
46 | 54 | -e POSTGRES_USER=postgres_user \ |
47 | | - -e POSTGRES_PASSWORD=postgres_password \ |
48 | | - -e POSTGRES_DB=database \ |
49 | 55 | -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 \ |
54 | 56 | -e WEBGAZER_PULSE_URL=https://pulse.webgazer.io/1-8f713c75d659 |
55 | 57 |
|
56 | 58 | ## Shameless plug |
|
0 commit comments