Compare commits
3 Commits
f56633a471
...
e519143590
Author | SHA1 | Date | |
---|---|---|---|
e519143590 | |||
e005ae74a3 | |||
1261888847 |
@ -72,7 +72,7 @@ RUN apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoffice --no
|
|||||||
RUN echo "deb https://repo.delellis.com.ar bullseye bullseye" > /etc/apt/sources.list.d/20-pdlib.list \
|
RUN echo "deb https://repo.delellis.com.ar bullseye bullseye" > /etc/apt/sources.list.d/20-pdlib.list \
|
||||||
&& wget -qO - https://repo.delellis.com.ar/repo.gpg.key | apt-key add - \
|
&& wget -qO - https://repo.delellis.com.ar/repo.gpg.key | apt-key add - \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
&& apt install -y php${PHPVERSION}-pdlib --no-install-recommends
|
&& apt install -y php${PHPVERSION}-pdlib --no-install-recommends \
|
||||||
&& apt auto-remove -y \
|
&& apt auto-remove -y \
|
||||||
&& apt clean -y
|
&& apt clean -y
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ server {
|
|||||||
|
|
||||||
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
||||||
fastcgi_param front_controller_active true; # Enable pretty urls
|
fastcgi_param front_controller_active true; # Enable pretty urls
|
||||||
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
|
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_request_buffering off;
|
fastcgi_request_buffering off;
|
||||||
|
@ -6,7 +6,7 @@ then ./auto_config.sh
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#Start Php-fpm
|
#Start Php-fpm
|
||||||
/usr/sbin/php-fpm8.1 --nodaemonize --fpm-config /etc/php/8.1/fpm/php-fpm.conf &
|
/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf &
|
||||||
|
|
||||||
#Start Nginx
|
#Start Nginx
|
||||||
/usr/sbin/nginx -g 'daemon off; master_process on;' &
|
/usr/sbin/nginx -g 'daemon off; master_process on;' &
|
||||||
|
@ -17,18 +17,18 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8003:80
|
- 8003:80
|
||||||
restart: always
|
restart: always
|
||||||
#########################
|
###########################
|
||||||
db:
|
# db:
|
||||||
image: mysql:8
|
# image: mysql:8
|
||||||
hostname: db
|
# hostname: db
|
||||||
environment:
|
# environment:
|
||||||
MYSQL_DATABASE: nextcloud
|
# MYSQL_DATABASE: nextcloud
|
||||||
MYSQL_USER: nextcloud
|
# MYSQL_USER: nextcloud
|
||||||
MYSQL_PASSWORD: nextcloud
|
# MYSQL_PASSWORD: nextcloud
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: true
|
# MYSQL_ALLOW_EMPTY_PASSWORD: true
|
||||||
volumes:
|
# volumes:
|
||||||
- database:/var/lib/mysql
|
# - database:/var/lib/mysql
|
||||||
restart: always
|
# restart: always
|
||||||
|
#
|
||||||
volumes:
|
#volumes:
|
||||||
database:
|
# database:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user