Skip to content

Commit

Permalink
Upgrade to 9.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardofraga committed Apr 20, 2020
1 parent b6dd3bd commit f7787d5
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 39 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Bacula 9.4.4 Container
# Bacula 9.6.3 Container

Deploy the bacula community edition on Docker Containers.

## Images

- [x] Bacula Catalog fametec/bacula-catalog
- [x] Bacula Director fametec/bacula-director
- [x] Bacula Storage Daemon fametec/bacula-storage
- [x] Bacula File Daemon fametec/bacula-client
- [x] Baculum Web Gui
- [x] Bacula Catalog fametec/bacula-catalog:9.6.3
- [x] Bacula Director fametec/bacula-director:9.6.3
- [x] Bacula Storage Daemon fametec/bacula-storage:9.6.3
- [x] Bacula File Daemon fametec/bacula-client:9.6.3
- [x] Baculum Web Gui fametec/baculum:9.6.3
- [x] Postfix SMTP Relay fametec/postfix:latest
- [x] SMTP2TG SMTP Relay to Telegram b3vis/docker-smtp2tg

## Install Docker

Expand Down Expand Up @@ -45,7 +47,7 @@ docker-compose.yaml
version: '3.1'
services:
db:
image: fametec/bacula-catalog:latest
image: fametec/bacula-catalog:9.6.3
restart: unless-stopped
environment:
POSTGRES_PASSWORD: bacula
Expand All @@ -56,7 +58,7 @@ docker-compose.yaml
ports:
- 5432
bacula-dir:
image: fametec/bacula-director:latest
image: fametec/bacula-director:9.6.3
restart: unless-stopped
volumes:
- ./etc/bacula-dir.conf:/opt/bacula/etc/bacula-dir.conf:ro
Expand All @@ -66,7 +68,7 @@ docker-compose.yaml
ports:
- 9101
bacula-sd:
image: fametec/bacula-storage:latest
image: fametec/bacula-storage:9.6.3
restart: unless-stopped
depends_on:
- bacula-dir
Expand All @@ -76,7 +78,7 @@ docker-compose.yaml
ports:
- 9103
bacula-fd:
image: fametec/bacula-client:latest
image: fametec/bacula-client:9.6.3
restart: unless-stopped
depends_on:
- bacula-sd
Expand Down
8 changes: 5 additions & 3 deletions docker/bacula-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM centos:7
FROM centos:centos7.7.1908

MAINTAINER Eduardo Fraga <[email protected]>

ENV BACULA_VERSION 9.4.4
ENV BACULA_VERSION 9.6.3

ENV BACULA_KEY 5cee4d079821e

Expand All @@ -17,11 +17,13 @@ RUN sed -i s/BACULA_VERSION/$(echo $BACULA_VERSION)/g /etc/yum.repos.d/bacula-co

RUN rpm -i https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

RUN yum -y upgrade

RUN yum -y install postgresql94 \
zip \
bzip2

RUN yum install -y bacula-postgresql --exclude=bacula-mysql
RUN yum install -y bacula-postgresql-$BACULA_VERSION --exclude=bacula-mysql

RUN yum -y clean all && rm -rf /var/cache/yum

Expand Down
2 changes: 1 addition & 1 deletion docker/bacula-catalog/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fametec/bacula-base AS base
FROM fametec/bacula-base:9.6.3 AS base

FROM postgres:9.4

Expand Down
2 changes: 1 addition & 1 deletion docker/bacula-dir/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fametec/bacula-base
FROM fametec/bacula-base:9.6.3

MAINTAINER [email protected]

Expand Down
2 changes: 1 addition & 1 deletion docker/bacula-fd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fametec/bacula-base
FROM fametec/bacula-base:9.6.3

VOLUME ["/opt/bacula/etc"]

Expand Down
2 changes: 1 addition & 1 deletion docker/bacula-sd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fametec/bacula-base
FROM fametec/bacula-base:9.6.3

RUN yum install -y bacula-cloud-storage --exclude=bacula-mysql

Expand Down
15 changes: 10 additions & 5 deletions docker/baculum/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
FROM fametec/bacula-base
FROM fametec/bacula-base:9.6.3

MAINTAINER [email protected]

RUN rpm --import http://bacula.org/downloads/baculum/baculum.pub

COPY baculum.repo /etc/yum.repos.d/baculum.repo

RUN yum install -y \
epel-release \
yum-utils

RUN yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm

RUN yum-config-manager --enable remi-php73

RUN yum install -y \
sudo \
baculum-common \
Expand All @@ -18,10 +26,7 @@ RUN yum -y clean all && rm -rf /var/cache/yum

COPY sudoers-baculum /etc/sudoers.d/sudoers-baculum

RUN { \
echo '[Date]'; \
echo 'date.timezone = UTC ; '; \
} > /etc/php.d/timezone.ini
COPY timezone.ini /etc/php.d/timezone.ini


VOLUME ["/opt/bacula/etc","/etc/baculum"]
Expand Down
5 changes: 0 additions & 5 deletions docker/baculum/baculum.repo
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ baseurl=http://bacula.org/downloads/baculum/stable/centos
gpgcheck=1
enabled=1

[baculumrepo]
name=Baculum Fedora repository
baseurl=http://bacula.org/downloads/baculum/stable/fedora
gpgcheck=1
enabled=1
2 changes: 2 additions & 0 deletions docker/baculum/timezone.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Date]
date.timezone = Etc/UTC ;
13 changes: 7 additions & 6 deletions docker/docker-compose-with-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ services:

base:
build: bacula-base/
image: fametec/bacula-base:latest
image: fametec/bacula-base:9.6.3
#
db:
build: bacula-catalog/
image: fametec/bacula-catalog:latest
image: fametec/bacula-catalog:9.6.3
restart: unless-stopped
environment:
POSTGRES_PASSWORD: bacula
Expand All @@ -21,7 +21,7 @@ services:
#
bacula-dir:
build: bacula-dir/
image: fametec/bacula-director:latest
image: fametec/bacula-director:9.6.3
restart: unless-stopped
volumes:
- ./etc:/opt/bacula/etc:ro
Expand All @@ -32,7 +32,7 @@ services:
#
bacula-sd:
build: bacula-sd/
image: fametec/bacula-storage:latest
image: fametec/bacula-storage:9.6.3
restart: unless-stopped
depends_on:
- bacula-dir
Expand All @@ -44,19 +44,20 @@ services:
#
bacula-fd:
build: bacula-fd/
image: fametec/bacula-client:latest
image: fametec/bacula-client:9.6.3
restart: unless-stopped
depends_on:
- bacula-sd
- bacula-dir
- db
volumes:
- ./etc:/opt/bacula/etc:ro
ports:
- 9102:9102
#
baculum:
build: baculum/
image: fametec/baculum:latest
image: fametec/baculum:9.6.3
restart: unless-stopped
depends_on:
- db
Expand Down
13 changes: 7 additions & 6 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.1'
services:
#
db:
image: fametec/bacula-catalog:latest
image: fametec/bacula-catalog:9.6.3
restart: unless-stopped
environment:
POSTGRES_PASSWORD: bacula
Expand All @@ -15,7 +15,7 @@ services:
- 5432:5432
#
bacula-dir:
image: fametec/bacula-director:latest
image: fametec/bacula-director:9.6.3
restart: unless-stopped
volumes:
- ./etc:/opt/bacula/etc:ro
Expand All @@ -25,7 +25,7 @@ services:
- 9101:9101
#
bacula-sd:
image: fametec/bacula-storage:latest
image: fametec/bacula-storage:9.6.3
restart: unless-stopped
depends_on:
- bacula-dir
Expand All @@ -36,18 +36,19 @@ services:
- 9103:9103
#
bacula-fd:
image: fametec/bacula-client:latest
image: fametec/bacula-client:9.6.3
restart: unless-stopped
depends_on:
- bacula-sd
- bacula-dir
- db
volumes:
- ./etc:/opt/bacula/etc:ro
ports:
- 9102:9102
#
# baculum:
# image: fametec/baculum:latest
# image: fametec/baculum:9.6.3
# restart: unless-stopped
# depends_on:
# - db
Expand All @@ -60,7 +61,7 @@ services:
# - 9096:9096
#
# gmail:
# image: fametec/postfix-gmail
# image: fametec/postfix:gmail
# restart: unless-stopped
# depends_on:
# - bacula-dir
Expand Down
1 change: 1 addition & 0 deletions docker/etc/bacula-dir.conf
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ FileSet {
#
File = /opt/bacula/bin
File = /opt/bacula
File = /opt/bacula/etc
}

#
Expand Down

0 comments on commit f7787d5

Please sign in to comment.