https://github.com/basalam/barman-docker
Automatically made barman images
https://github.com/basalam/barman-docker
Last synced: 5 months ago
JSON representation
Automatically made barman images
- Host: GitHub
- URL: https://github.com/basalam/barman-docker
- Owner: basalam
- License: gpl-3.0
- Created: 2022-12-14T12:23:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-20T11:47:39.000Z (about 1 year ago)
- Last Synced: 2025-04-20T12:42:14.921Z (about 1 year ago)
- Language: Dockerfile
- Size: 105 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# barman-docker
[](https://github.com/basalam/barman-docker/actions/workflows/docker-publish.yml)
[](https://ghcr.io/basalam/barman-docker/)
[](https://ghcr.io/basalam/barman-docker/)
Automatically made [barman](https://github.com/EnterpriseDB/barman/) Docker images
Based on [ubc/barman-docker](https://github.com/ubc/barman-docker)
## Why?
Every barman Docker image made manually But we want to have something to be automatically built and ready to use
With the help of github actions `schedule` feature we are using we are check for realeses every night and if the release is new we will build it.
Also we are taking care of nightly releases directly from source code of barman
## Usage
As for images goes we have a `nightly` tag that is up to date with the latest source code from barman
we have `latest` tag that is connected to the letest (stable) release of barman and of course for each release we have a tag if you want to make your barman deployment version fixed.
### Kubernetes
This image is tested with [adfinis barman Helm Chart](https://github.com/adfinis/helm-charts/tree/main/charts/barman)
and you can use it easly by setting the image
### Docker Compose
here is a sample docker-compose file that you can use ;)
> Note that comments are important
```yaml
version: "3.3"
services:
barman:
restart: always
image: ghcr.io/basalam/barman-docker:latest
ports:
- 127.0.0.1:9780:9780 # Needed for barman exporter
environment:
- DB_HOST=172.17.1.1
- DB_PORT=5432
- DB_SUPERUSER=postgres
- DB_SUPERUSER_PASSWORD=supersecret
- DB_REPLICATION_USER=replication
- DB_REPLICATION_PASSWORD=supersecretreplication
## Check out other envs from config files templates and entrypoint
## TODO: Make a complete list of envs
volumes:
- ./data:/var/lib/barman:rw # Barman Persistant data
- ./recovery-data:/var/lib/barman/recover:rw # Baramn Recover path
- /var/log/barman.log:/var/log/barman.log:rw # Barman Logs
## Or you can fully customize configs by making a volume for all of them
```