mirror of
https://github.com/eftechcombr/bacula.git
synced 2025-10-10 19:26:18 +00:00
Build 13.0.3
This commit is contained in:
38
docker/baculum-api/Dockerfile
Normal file
38
docker/baculum-api/Dockerfile
Normal file
@@ -0,0 +1,38 @@
|
||||
FROM eftechcombr/bacula:13.0.3-base
|
||||
|
||||
RUN curl https://www.bacula.org/downloads/baculum/baculum.pub | apt-key add -
|
||||
|
||||
COPY baculum.list /etc/apt/sources.list.d/baculum.list
|
||||
|
||||
RUN apt update && \
|
||||
apt -y install \
|
||||
php-bcmath \
|
||||
php*-mbstring \
|
||||
php-fpm \
|
||||
baculum-api \
|
||||
baculum-api-apache2 \
|
||||
baculum-common \
|
||||
bacula-console \
|
||||
baculum-web \
|
||||
baculum-web-apache2 \
|
||||
supervisor
|
||||
|
||||
COPY sudoers-baculum /etc/sudoers.d/sudoers-baculum
|
||||
|
||||
RUN usermod -aG bacula www-data && \
|
||||
chown -R www-data:bacula /opt/bacula/working /opt/bacula/etc && \
|
||||
chmod -R g+rwx /opt/bacula/working /opt/bacula/etc && \
|
||||
a2enmod rewrite && \
|
||||
a2ensite baculum-api
|
||||
|
||||
COPY timezone.ini /etc/php.d/timezone.ini
|
||||
|
||||
COPY confs/supervisord.conf /etc/supervisord.conf
|
||||
|
||||
VOLUME ["/opt/bacula/etc","/etc/baculum"]
|
||||
|
||||
EXPOSE 9096/tcp
|
||||
|
||||
RUN mkdir -p /run/php
|
||||
|
||||
CMD ["/usr/bin/supervisord"]
|
Reference in New Issue
Block a user