
This image was made and maintained for Motius and we have no intention to make this official. Support won't be regular so if there's an update, or a fix, you can open a pull request. Any contribution is welcome, but please be aware I'm very busy currently. Before opening an issue, please check if there's already one related. Also please use Github instead of Docker Hub, otherwise I won't see your comments. Thanks.
Based on https://github.com/shoifele/bareos-dir
This will create a sample configuration for Bareos using the templates given:
/etc/bareosThe container also takes care of setting some environment variables in the corresponding config files:
version: "3"
services:
# Bareos catalog
postgres:
container_name: bareos-db
image: postgres:9-alpine
environment:
- "TIMEZONE=Europe/Berlin"
- "LANG=C"
- "POSTGRES_USER=bareos"
- "POSTGRES_PASSWORD=bareos"
volumes:
- ./db:/var/lib/postgresql
restart: always
networks:
- bareos
# Bareos storage daemon
bareos-sd:
container_name: bareos-sd
image: motius/bareos-sd
environment:
- "TIMEZONE=Europe/Berlin"
volumes:
- ./conf/bareos-sd:/etc/bareos
- ./storage:/storage
ports:
- "9103:9103"
restart: always
networks:
- bareos
# BareOS file daemon
bareos-fd:
container_name: bareos-fd
image: motius/bareos-fd
environment:
- "TIMEZONE=Europe/Berlin"
volumes:
- ./conf/bareos-fd:/etc/bareos
- ./restore:/tmp/bareos-restores
links:
- postgres
ports:
- "9102:9102"
restart: always
networks:
- bareos
# Bareos director
bareos-dir:
container_name: bareos-dir
image: motius/bareos-dir
environment:
- "TIMEZONE=Europe/Berlin"
- "DB_HOST=postgres"
- "DB_PASS=bareos"
- "DB_NAME=bareos"
- "DB_USER=bareos"
- "DB_PORT=5432"
- "[email protected]"
- "[email protected]"
- "SMTP_PASSWORD=pw123"
- "SMTP_SERVER=smtp.gmail.com"
- "[email protected]"
- "[email protected]"
volumes:
- ./conf/bareos-dir:/etc/bareos
ports:
- 9101:9101
links:
- postgres
- bareos-sd
- bareos-fd
restart: always
networks:
- bareos
# Bareos webinterface
bareos-ui:
container_name: bareos-ui
image: motius/bareos-ui
restart: always
volumes:
- ./conf/bareos-ui:/etc/bareos-webui
ports:
- 80:80
links:
- bareos-dir
networks:
- bareos
networks:
bareos:
Content type
Image
Digest
Size
99.3 MB
Last updated
over 6 years ago
docker pull motius/bareos-dir