Skip to content

Commit f7787d5

Browse files
committed
Upgrade to 9.6.3
1 parent b6dd3bd commit f7787d5

File tree

12 files changed

+48
-39
lines changed

12 files changed

+48
-39
lines changed

README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
# Bacula 9.4.4 Container
1+
# Bacula 9.6.3 Container
22

33
Deploy the bacula community edition on Docker Containers.
44

55
## Images
66

7-
- [x] Bacula Catalog fametec/bacula-catalog
8-
- [x] Bacula Director fametec/bacula-director
9-
- [x] Bacula Storage Daemon fametec/bacula-storage
10-
- [x] Bacula File Daemon fametec/bacula-client
11-
- [x] Baculum Web Gui
7+
- [x] Bacula Catalog fametec/bacula-catalog:9.6.3
8+
- [x] Bacula Director fametec/bacula-director:9.6.3
9+
- [x] Bacula Storage Daemon fametec/bacula-storage:9.6.3
10+
- [x] Bacula File Daemon fametec/bacula-client:9.6.3
11+
- [x] Baculum Web Gui fametec/baculum:9.6.3
12+
- [x] Postfix SMTP Relay fametec/postfix:latest
13+
- [x] SMTP2TG SMTP Relay to Telegram b3vis/docker-smtp2tg
1214

1315
## Install Docker
1416

@@ -45,7 +47,7 @@ docker-compose.yaml
4547
version: '3.1'
4648
services:
4749
db:
48-
image: fametec/bacula-catalog:latest
50+
image: fametec/bacula-catalog:9.6.3
4951
restart: unless-stopped
5052
environment:
5153
POSTGRES_PASSWORD: bacula
@@ -56,7 +58,7 @@ docker-compose.yaml
5658
ports:
5759
- 5432
5860
bacula-dir:
59-
image: fametec/bacula-director:latest
61+
image: fametec/bacula-director:9.6.3
6062
restart: unless-stopped
6163
volumes:
6264
- ./etc/bacula-dir.conf:/opt/bacula/etc/bacula-dir.conf:ro
@@ -66,7 +68,7 @@ docker-compose.yaml
6668
ports:
6769
- 9101
6870
bacula-sd:
69-
image: fametec/bacula-storage:latest
71+
image: fametec/bacula-storage:9.6.3
7072
restart: unless-stopped
7173
depends_on:
7274
- bacula-dir
@@ -76,7 +78,7 @@ docker-compose.yaml
7678
ports:
7779
- 9103
7880
bacula-fd:
79-
image: fametec/bacula-client:latest
81+
image: fametec/bacula-client:9.6.3
8082
restart: unless-stopped
8183
depends_on:
8284
- bacula-sd

docker/bacula-base/Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM centos:7
1+
FROM centos:centos7.7.1908
22

33
MAINTAINER Eduardo Fraga <[email protected]>
44

5-
ENV BACULA_VERSION 9.4.4
5+
ENV BACULA_VERSION 9.6.3
66

77
ENV BACULA_KEY 5cee4d079821e
88

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

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

20+
RUN yum -y upgrade
21+
2022
RUN yum -y install postgresql94 \
2123
zip \
2224
bzip2
2325

24-
RUN yum install -y bacula-postgresql --exclude=bacula-mysql
26+
RUN yum install -y bacula-postgresql-$BACULA_VERSION --exclude=bacula-mysql
2527

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

docker/bacula-catalog/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fametec/bacula-base AS base
1+
FROM fametec/bacula-base:9.6.3 AS base
22

33
FROM postgres:9.4
44

docker/bacula-dir/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fametec/bacula-base
1+
FROM fametec/bacula-base:9.6.3
22

33
44

docker/bacula-fd/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fametec/bacula-base
1+
FROM fametec/bacula-base:9.6.3
22

33
VOLUME ["/opt/bacula/etc"]
44

docker/bacula-sd/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fametec/bacula-base
1+
FROM fametec/bacula-base:9.6.3
22

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

docker/baculum/Dockerfile

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
FROM fametec/bacula-base
1+
FROM fametec/bacula-base:9.6.3
22

33
44

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

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

9+
RUN yum install -y \
10+
epel-release \
11+
yum-utils
12+
13+
RUN yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm
14+
15+
RUN yum-config-manager --enable remi-php73
16+
917
RUN yum install -y \
1018
sudo \
1119
baculum-common \
@@ -18,10 +26,7 @@ RUN yum -y clean all && rm -rf /var/cache/yum
1826

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

21-
RUN { \
22-
echo '[Date]'; \
23-
echo 'date.timezone = UTC ; '; \
24-
} > /etc/php.d/timezone.ini
29+
COPY timezone.ini /etc/php.d/timezone.ini
2530

2631

2732
VOLUME ["/opt/bacula/etc","/etc/baculum"]

docker/baculum/baculum.repo

-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@ baseurl=http://bacula.org/downloads/baculum/stable/centos
44
gpgcheck=1
55
enabled=1
66

7-
[baculumrepo]
8-
name=Baculum Fedora repository
9-
baseurl=http://bacula.org/downloads/baculum/stable/fedora
10-
gpgcheck=1
11-
enabled=1

docker/baculum/timezone.ini

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[Date]
2+
date.timezone = Etc/UTC ;

docker/docker-compose-with-build.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ services:
44

55
base:
66
build: bacula-base/
7-
image: fametec/bacula-base:latest
7+
image: fametec/bacula-base:9.6.3
88
#
99
db:
1010
build: bacula-catalog/
11-
image: fametec/bacula-catalog:latest
11+
image: fametec/bacula-catalog:9.6.3
1212
restart: unless-stopped
1313
environment:
1414
POSTGRES_PASSWORD: bacula
@@ -21,7 +21,7 @@ services:
2121
#
2222
bacula-dir:
2323
build: bacula-dir/
24-
image: fametec/bacula-director:latest
24+
image: fametec/bacula-director:9.6.3
2525
restart: unless-stopped
2626
volumes:
2727
- ./etc:/opt/bacula/etc:ro
@@ -32,7 +32,7 @@ services:
3232
#
3333
bacula-sd:
3434
build: bacula-sd/
35-
image: fametec/bacula-storage:latest
35+
image: fametec/bacula-storage:9.6.3
3636
restart: unless-stopped
3737
depends_on:
3838
- bacula-dir
@@ -44,19 +44,20 @@ services:
4444
#
4545
bacula-fd:
4646
build: bacula-fd/
47-
image: fametec/bacula-client:latest
47+
image: fametec/bacula-client:9.6.3
4848
restart: unless-stopped
4949
depends_on:
5050
- bacula-sd
5151
- bacula-dir
52+
- db
5253
volumes:
5354
- ./etc:/opt/bacula/etc:ro
5455
ports:
5556
- 9102:9102
5657
#
5758
baculum:
5859
build: baculum/
59-
image: fametec/baculum:latest
60+
image: fametec/baculum:9.6.3
6061
restart: unless-stopped
6162
depends_on:
6263
- db

docker/docker-compose.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3.1'
33
services:
44
#
55
db:
6-
image: fametec/bacula-catalog:latest
6+
image: fametec/bacula-catalog:9.6.3
77
restart: unless-stopped
88
environment:
99
POSTGRES_PASSWORD: bacula
@@ -15,7 +15,7 @@ services:
1515
- 5432:5432
1616
#
1717
bacula-dir:
18-
image: fametec/bacula-director:latest
18+
image: fametec/bacula-director:9.6.3
1919
restart: unless-stopped
2020
volumes:
2121
- ./etc:/opt/bacula/etc:ro
@@ -25,7 +25,7 @@ services:
2525
- 9101:9101
2626
#
2727
bacula-sd:
28-
image: fametec/bacula-storage:latest
28+
image: fametec/bacula-storage:9.6.3
2929
restart: unless-stopped
3030
depends_on:
3131
- bacula-dir
@@ -36,18 +36,19 @@ services:
3636
- 9103:9103
3737
#
3838
bacula-fd:
39-
image: fametec/bacula-client:latest
39+
image: fametec/bacula-client:9.6.3
4040
restart: unless-stopped
4141
depends_on:
4242
- bacula-sd
4343
- bacula-dir
44+
- db
4445
volumes:
4546
- ./etc:/opt/bacula/etc:ro
4647
ports:
4748
- 9102:9102
4849
#
4950
# baculum:
50-
# image: fametec/baculum:latest
51+
# image: fametec/baculum:9.6.3
5152
# restart: unless-stopped
5253
# depends_on:
5354
# - db
@@ -60,7 +61,7 @@ services:
6061
# - 9096:9096
6162
#
6263
# gmail:
63-
# image: fametec/postfix-gmail
64+
# image: fametec/postfix:gmail
6465
# restart: unless-stopped
6566
# depends_on:
6667
# - bacula-dir

docker/etc/bacula-dir.conf

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ FileSet {
124124
#
125125
File = /opt/bacula/bin
126126
File = /opt/bacula
127+
File = /opt/bacula/etc
127128
}
128129

129130
#

0 commit comments

Comments
 (0)