https://github.com/project-tampah/docker-images
https://github.com/project-tampah/docker-images
docker docker-image
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/project-tampah/docker-images
- Owner: project-tampah
- Created: 2022-04-01T19:00:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T20:45:03.000Z (over 1 year ago)
- Last Synced: 2025-03-27T06:45:08.981Z (about 1 year ago)
- Topics: docker, docker-image
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker images
- [Postgres AWS backup](https://hub.docker.com/r/projecttampah/postgres-backup)
## Tags
| Postgres | Tag |
| ----------- | ----- |
| Postgres 14 | 1.1.0 |
| Postgres 15 | 2.1.0 |
| Postgres 16 | 3.0.0 |
| Postgres 17 | 4.0.0 |
| Postgres 18 | 5.0.0 |
## Postgres Backup
### Environment Variables
| Variable | Description |
| ----------------------- | ------------------------------------------------- |
| POSTGRES_HOST | Host from postgres server (e.g. `postgres`) |
| POSTGRES_PORT | Port from postgres server (e.g. `5432`) |
| POSTGRES_USER | User from postgres server (e.g. `postgres`) |
| POSTGRES_PASSWORD | Password from postgres server (e.g. `mysecretpw`) |
| POSTGRES_DB | Datatabase name to backup (e.g. `mydatabase`) |
| AWS_ACCESS_KEY_ID | AWS S3 Key id |
| AWS_SECRET_ACCESS_KEY | AWS S3 Access key id |
| AWS_STORAGE_BUCKET_NAME | AWS S3 Bucket name |
| HEARTBEAT_URL | Monitoring Heartbeat Url |
### Build & Push
```bash
docker buildx build --platform linux/amd64 -t projecttampah/postgres-backup:2.1.0 -f ./postgres-backup/Dockerfile postgres-backup --push
```