mirror of
https://github.com/garraflavatra/docker-volume-s3-backup.git
synced 2025-07-18 15:54:06 +00:00
add docker-compose.yaml for development/testing
This commit is contained in:
@ -49,9 +49,14 @@ docker exec <container name> sh restore.sh <timestamp>
|
||||
## Build the image locally
|
||||
`ALPINE_VERSION` determines Postgres version compatibility. See [`build-and-push-images.yml`](.github/workflows/build-and-push-images.yml) for the latest mapping.
|
||||
```sh
|
||||
cd postgres-backup-s3
|
||||
docker build --build-arg ALPINE_VERSION=3.14
|
||||
```
|
||||
## Run a simple test environment with Docker Compose
|
||||
```sh
|
||||
cp template.env .env
|
||||
# fill out your secrets/params in .env
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
# Acknowledgements
|
||||
This project is a fork and re-structuring of @schickling's [postgres-backup-s3](https://github.com/schickling/dockerfiles/tree/master/postgres-backup-s3) and [postgres-restore-s3](https://github.com/schickling/dockerfiles/tree/master/postgres-restore-s3).
|
||||
|
Reference in New Issue
Block a user