Bacula Director container.
No variable are required to run the container. All have a default value.
Bacula catalog host database (default bacula)
Bacula catalog database name (default baculadb)
Bacula catalog database username (default bacula)
Bacula catalog database user password (default bacula)
Bacula File Daemon password (default password)
Bacula Storage Deamon password (default password)
Bacula console password (default password)
Bacula Director name (default bacula)
Bacula File Daemon name (default bacula-fd)
Bacula File Daemon address (default 127.0.0.1)
Bacula Director address (default 127.0.0.1)
Bacula Storage Daemon address (default 127.0.0.1)
version: "3.7"
services:
postgres:
image: postgres:alpine
environment:
- POSTGRES_PASSWORD=bacula
networks:
- bacula
volumes:
- catalog:/var/lib/postgresql/data
deploy:
replicas: 1
restart_policy:
condition: on-failure
bacula-fd:
image: glenonmateus/bacula-fd:9.4.4
volumes:
- bacula-fd:/etc/bacula
environment:
- BACULA_FDPASSWORD=password
networks:
- bacula
ports:
- 9102:9102
deploy:
mode: global
restart_policy:
condition: on-failure
bacula-sd:
image: glenonmateus/bacula-sd:9.4.4
volumes:
- bacula-sd:/etc/bacula
environment:
- BACULA_SDPASSWORD=password
networks:
- bacula
ports:
- 9103:9103
deploy:
replicas: 1
restart_policy:
condition: on-failure
bacula-dir:
image: glenonmateus/bacula-dir:9.4.4
volumes:
- bacula-dir:/etc/bacula
environment:
- BACULA_DBHOST=postgres
- BACULA_DBNAME=baculadb
- BACULA_DBUSER=bacula
- BACULA_DBPASSWORD=bacula
- BACULA_SDPASSWORD=password
- BACULA_FDPASSWORD=password
- BACULA_FDADDRESS=bacula-fd
- BACULA_SDADDRESS=bacula-sd
networks:
- bacula
ports:
- 9101:9101
depends_on:
- postgres
- bacula-fd
- bacula-sd
deploy:
replicas: 1
restart_policy:
condition: on-failure
volumes:
catalog:
bacula-fd:
bacula-sd:
bacula-dir:
networks:
bacula:
docker container exec -it <bacula-dir> bconsole