mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:10:12 +01:00
Fixed docker image
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
895d0c7fc6
commit
27730e4c63
@ -17,7 +17,7 @@ RUN apt-get update && \
|
|||||||
apt-get -y --no-install-recommends install \
|
apt-get -y --no-install-recommends install \
|
||||||
wget rsyslog openssl sysstat php8.1-cli php8.1-cgi php8.1-mysql php8.1-fpm php8.1-zip php8.1-ldap \
|
wget rsyslog openssl sysstat php8.1-cli php8.1-cgi php8.1-mysql php8.1-fpm php8.1-zip php8.1-ldap \
|
||||||
php8.1-gd php8.1-curl php8.1-xml php8.1-memcached catdoc unrtf poppler-utils nginx tnef sudo libzip4 \
|
php8.1-gd php8.1-curl php8.1-xml php8.1-memcached catdoc unrtf poppler-utils nginx tnef sudo libzip4 \
|
||||||
libtre5 cron libmariadb-dev mariadb-client-core-10.6 mariadb-server-10.6 python3 python3-mysqldb ca-certificates curl && \
|
libtre5 cron libmariadb-dev mariadb-client-core-10.6 python3 python3-mysqldb ca-certificates curl && \
|
||||||
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb && \
|
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb && \
|
||||||
dpkg -i manticore-repo.noarch.deb && \
|
dpkg -i manticore-repo.noarch.deb && \
|
||||||
rm -f manticore-repo.noarch.deb && \
|
rm -f manticore-repo.noarch.deb && \
|
||||||
@ -28,6 +28,7 @@ RUN apt-get update && \
|
|||||||
sed -i 's/mail.[iwe].*//' /etc/rsyslog.conf && \
|
sed -i 's/mail.[iwe].*//' /etc/rsyslog.conf && \
|
||||||
sed -i '/session required pam_loginuid.so/c\#session required pam_loginuid.so' /etc/pam.d/cron && \
|
sed -i '/session required pam_loginuid.so/c\#session required pam_loginuid.so' /etc/pam.d/cron && \
|
||||||
dpkg -i ${PACKAGE} && \
|
dpkg -i ${PACKAGE} && \
|
||||||
|
touch /etc/piler/MANTICORE && \
|
||||||
ln -sf /etc/piler/piler-nginx.conf /etc/nginx/sites-enabled && \
|
ln -sf /etc/piler/piler-nginx.conf /etc/nginx/sites-enabled && \
|
||||||
rm -f ${PACKAGE} /etc/nginx/sites-enabled/default /etc/piler/piler.key /etc/piler/piler.pem /etc/piler/config-site.php && \
|
rm -f ${PACKAGE} /etc/nginx/sites-enabled/default /etc/piler/piler.key /etc/piler/piler.pem /etc/piler/config-site.php && \
|
||||||
crontab -u $PILER_USER /usr/share/piler/piler.cron
|
crontab -u $PILER_USER /usr/share/piler/piler.cron
|
||||||
|
@ -2,7 +2,8 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mariadb:10.5
|
image: mariadb:10.6
|
||||||
|
container_name: mysql
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
@ -26,6 +27,7 @@ services:
|
|||||||
- db_data:/var/lib/mysql
|
- db_data:/var/lib/mysql
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
|
container_name: memcached
|
||||||
image: memcached:latest
|
image: memcached:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
cap_drop:
|
cap_drop:
|
||||||
@ -33,7 +35,8 @@ services:
|
|||||||
command: -m 64
|
command: -m 64
|
||||||
|
|
||||||
piler:
|
piler:
|
||||||
image: sutoj/piler:1.4.1
|
image: piler:1.4.1
|
||||||
|
container_name: piler
|
||||||
init: true
|
init: true
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=piler
|
- MYSQL_DATABASE=piler
|
||||||
|
@ -170,7 +170,7 @@ create_my_cnf_files() {
|
|||||||
|
|
||||||
|
|
||||||
start_services() {
|
start_services() {
|
||||||
service rsyslog start
|
rsyslogd
|
||||||
service cron start
|
service cron start
|
||||||
service php8.1-fpm start
|
service php8.1-fpm start
|
||||||
service nginx start
|
service nginx start
|
||||||
|
Loading…
Reference in New Issue
Block a user