Compare commits
47 Commits
4b6c0961ff
...
new
Author | SHA1 | Date | |
---|---|---|---|
8f77510052
|
|||
8c17953315
|
|||
5330168595
|
|||
44f11cee27
|
|||
6c6061c1ee
|
|||
573c0f9066
|
|||
fede9db8e7
|
|||
85a27b96dd
|
|||
bd0563afa7
|
|||
4c8ebad4fc
|
|||
cbd2b2069d
|
|||
e519143590
|
|||
e005ae74a3
|
|||
1261888847
|
|||
f56633a471
|
|||
01f320b725
|
|||
aa134f2ac7
|
|||
4c61bd9be5
|
|||
b653e814a1
|
|||
7e08b2cfd4
|
|||
56bd3dc6a1
|
|||
09ab2bdebc
|
|||
73c89e982c
|
|||
d46d637ac0
|
|||
cd2db88a3b
|
|||
84a88ba7bb
|
|||
856b9fed53
|
|||
e43a18df11
|
|||
2c9e61417b
|
|||
ec26b08675
|
|||
9be372d1a6
|
|||
4587c41f2b
|
|||
3eda84c327
|
|||
7aa6a681a1
|
|||
57be7631a5
|
|||
b4ab2060ff
|
|||
8dd09ad4f8
|
|||
7aa7eacacf
|
|||
970eb0a1cf
|
|||
991d2abcc2
|
|||
4d81b1b52c
|
|||
c7af24868b
|
|||
b1c83b2941
|
|||
8079905530
|
|||
b893787b1a
|
|||
dbaca1d831
|
|||
b31bb3aa6b
|
26
.backup.sh
Executable file
26
.backup.sh
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# setting inital variables
|
||||||
|
DIR="."
|
||||||
|
BACKUPDIR="/mnt/vol2/docker-backups"
|
||||||
|
DATETIME="$(date +'%d-%m-%Y_%H-%M-%S')"
|
||||||
|
FILENAME=$(basename $(pwd))-${DATETIME}.tar.zst
|
||||||
|
|
||||||
|
#Docker down
|
||||||
|
docker compose down
|
||||||
|
|
||||||
|
#Compress files into backdir
|
||||||
|
tar --zstd -cf $BACKUPDIR/$FILENAME $DIR
|
||||||
|
|
||||||
|
#docker up
|
||||||
|
docker compose up -d
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##How to decompress file
|
||||||
|
## tar -I zstd -xf bitwarden*.tar.zst
|
33
.build/docker-compose.yml
Normal file
33
.build/docker-compose.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
version: '3.5'
|
||||||
|
services:
|
||||||
|
#########################
|
||||||
|
fpm:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: fpm.Dockerfile
|
||||||
|
x-bake:
|
||||||
|
pull: true
|
||||||
|
platforms:
|
||||||
|
- linux/amd64/v1
|
||||||
|
- linux/amd64/v2
|
||||||
|
- linux/amd64/v3
|
||||||
|
- linux/arm/v7
|
||||||
|
- linux/arm64
|
||||||
|
hostname: fpm
|
||||||
|
platform: linux/amd64/v3
|
||||||
|
image: git.shihaam.dev/dockerfiles/nextcloud-fpm:latest
|
||||||
|
nginx:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: nginx.Dockerfile
|
||||||
|
x-bake:
|
||||||
|
pull: true
|
||||||
|
platforms:
|
||||||
|
- linux/amd64/v1
|
||||||
|
- linux/amd64/v2
|
||||||
|
- linux/amd64/v3
|
||||||
|
- linux/arm/v7
|
||||||
|
- linux/arm64
|
||||||
|
hostname: nginx
|
||||||
|
platform: linux/amd64/v3
|
||||||
|
image: git.shihaam.dev/dockerfiles/nextcloud-nginx:vest
|
20
.build/fpm.Dockerfile
Normal file
20
.build/fpm.Dockerfile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FROM git.shihaam.dev/dockerfiles/php-fpm:8.2.3
|
||||||
|
|
||||||
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
|
ENV LANG en_US.UTF-8
|
||||||
|
ENV LANGUAGE en_US:en
|
||||||
|
ENV LC_ALL en_US.UTF-8
|
||||||
|
RUN --mount=type=cache,target=/var/cache/apt \
|
||||||
|
apt update && install locales -y \
|
||||||
|
&& apt auto-remove -y \
|
||||||
|
&& apt clean -y
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
||||||
|
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
|
||||||
|
&& locale-gen
|
||||||
|
|
||||||
|
RUN --mount=type=cache,target=/var/cache/apt \
|
||||||
|
apt update && apt install bzip2 zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
3
.build/nginx.Dockerfile
Normal file
3
.build/nginx.Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM git.shihaam.dev/dockerfiles/nginx-fpm:latest
|
||||||
|
|
||||||
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
164
.build/nginx.conf
Normal file
164
.build/nginx.conf
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
|
||||||
|
map $arg_v $asset_immutable {
|
||||||
|
"" "";
|
||||||
|
default "immutable";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
#Logs
|
||||||
|
access_log /root/logs/nginx/access.log;
|
||||||
|
error_log /root/logs/nginx/error.log;
|
||||||
|
|
||||||
|
# Path to the root of your installation
|
||||||
|
root /var/www/html;
|
||||||
|
|
||||||
|
# Prevent nginx HTTP Server Detection
|
||||||
|
server_tokens off;
|
||||||
|
|
||||||
|
# HSTS settings
|
||||||
|
# WARNING: Only add the preload option once you read about
|
||||||
|
# the consequences in https://hstspreload.org/. This option
|
||||||
|
# will add the domain to a hardcoded list that is shipped
|
||||||
|
# in all major browsers and getting removed from this list
|
||||||
|
# could take several months.
|
||||||
|
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" always;
|
||||||
|
|
||||||
|
# set max upload size and increase upload timeout:
|
||||||
|
client_max_body_size 4G;
|
||||||
|
client_body_timeout 600s;
|
||||||
|
fastcgi_buffers 64 4K;
|
||||||
|
|
||||||
|
# Enable gzip but do not remove ETag headers
|
||||||
|
gzip on;
|
||||||
|
gzip_vary on;
|
||||||
|
gzip_comp_level 4;
|
||||||
|
gzip_min_length 256;
|
||||||
|
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
|
||||||
|
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
|
||||||
|
|
||||||
|
# Pagespeed is not supported by Nextcloud, so if your server is built
|
||||||
|
# with the `ngx_pagespeed` module, uncomment this line to disable it.
|
||||||
|
#pagespeed off;
|
||||||
|
|
||||||
|
# The settings allows you to optimize the HTTP2 bandwitdth.
|
||||||
|
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
|
||||||
|
# for tunning hints
|
||||||
|
client_body_buffer_size 512k;
|
||||||
|
|
||||||
|
# HTTP response headers borrowed from Nextcloud `.htaccess`
|
||||||
|
add_header Referrer-Policy "no-referrer" always;
|
||||||
|
add_header X-Content-Type-Options "nosniff" always;
|
||||||
|
add_header X-Download-Options "noopen" always;
|
||||||
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||||
|
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
||||||
|
add_header X-Robots-Tag "none" always;
|
||||||
|
add_header X-XSS-Protection "1; mode=block" always;
|
||||||
|
|
||||||
|
# Remove X-Powered-By, which is an information leak
|
||||||
|
fastcgi_hide_header X-Powered-By;
|
||||||
|
|
||||||
|
# Specify how to handle directories -- specifying `/index.php$request_uri`
|
||||||
|
# here as the fallback means that Nginx always exhibits the desired behaviour
|
||||||
|
# when a client requests a path that corresponds to a directory that exists
|
||||||
|
# on the server. In particular, if that directory contains an index.php file,
|
||||||
|
# that file is correctly served; if it doesn't, then the request is passed to
|
||||||
|
# the front-end controller. This consistent behaviour means that we don't need
|
||||||
|
# to specify custom rules for certain paths (e.g. images and other assets,
|
||||||
|
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
|
||||||
|
# `try_files $uri $uri/ /index.php$request_uri`
|
||||||
|
# always provides the desired behaviour.
|
||||||
|
index index.php index.html /index.php$request_uri;
|
||||||
|
|
||||||
|
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
|
||||||
|
location = / {
|
||||||
|
if ( $http_user_agent ~ ^DavClnt ) {
|
||||||
|
return 302 /remote.php/webdav/$is_args$args;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /robots.txt {
|
||||||
|
allow all;
|
||||||
|
log_not_found off;
|
||||||
|
access_log off;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Make a regex exception for `/.well-known` so that clients can still
|
||||||
|
# access it despite the existence of the regex rule
|
||||||
|
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
|
||||||
|
# for `/.well-known`.
|
||||||
|
location ^~ /.well-known {
|
||||||
|
# The rules in this block are an adaptation of the rules
|
||||||
|
# in `.htaccess` that concern `/.well-known`.
|
||||||
|
|
||||||
|
location = /.well-known/carddav { return 301 /remote.php/dav/; }
|
||||||
|
location = /.well-known/caldav { return 301 /remote.php/dav/; }
|
||||||
|
|
||||||
|
location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
|
||||||
|
location /.well-known/pki-validation { try_files $uri $uri/ =404; }
|
||||||
|
|
||||||
|
# Let Nextcloud's API for `/.well-known` URIs handle all other
|
||||||
|
# requests by passing them to the front-end controller.
|
||||||
|
return 301 /index.php$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Rules borrowed from `.htaccess` to hide certain paths from clients
|
||||||
|
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
|
||||||
|
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
|
||||||
|
|
||||||
|
# Ensure this block, which passes PHP files to the PHP process, is above the blocks
|
||||||
|
# which handle static assets (as seen below). If this block is not declared first,
|
||||||
|
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
|
||||||
|
# to the URI, resulting in a HTTP 500 error response.
|
||||||
|
location ~ \.php(?:$|/) {
|
||||||
|
# Required for legacy support
|
||||||
|
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy) /index.php$request_uri;
|
||||||
|
|
||||||
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
|
set $path_info $fastcgi_path_info;
|
||||||
|
|
||||||
|
try_files $fastcgi_script_name =404;
|
||||||
|
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_param PATH_INFO $path_info;
|
||||||
|
fastcgi_param HTTPS on;
|
||||||
|
|
||||||
|
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
||||||
|
fastcgi_param front_controller_active true; # Enable pretty urls
|
||||||
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
|
|
||||||
|
fastcgi_intercept_errors on;
|
||||||
|
fastcgi_request_buffering off;
|
||||||
|
|
||||||
|
fastcgi_max_temp_file_size 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ {
|
||||||
|
try_files $uri /index.php$request_uri;
|
||||||
|
add_header Cache-Control "public, max-age=15778463, $asset_immutable";
|
||||||
|
access_log off; # Optional: Don't log access to assets
|
||||||
|
|
||||||
|
location ~ \.wasm$ {
|
||||||
|
default_type application/wasm;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.woff2?$ {
|
||||||
|
try_files $uri /index.php$request_uri;
|
||||||
|
expires 7d; # Cache-Control policy borrowed from `.htaccess`
|
||||||
|
access_log off; # Optional: Don't log access to assets
|
||||||
|
}
|
||||||
|
|
||||||
|
# Rule borrowed from `.htaccess`
|
||||||
|
location /remote {
|
||||||
|
return 301 /remote.php$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.php$request_uri;
|
||||||
|
}
|
||||||
|
}
|
6
.gitignore
vendored
6
.gitignore
vendored
@ -2,3 +2,9 @@ configs/
|
|||||||
configs/*
|
configs/*
|
||||||
logs/
|
logs/
|
||||||
logs/*
|
logs/*
|
||||||
|
nextcloud/
|
||||||
|
nextcloud-apps/
|
||||||
|
nextcloud-apps/*
|
||||||
|
nextcloud/*
|
||||||
|
database/
|
||||||
|
database/*
|
||||||
|
63
Dockerfile
63
Dockerfile
@ -1,11 +1,10 @@
|
|||||||
FROM debian:11-slim
|
FROM debian:11-slim
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
ARG NEXTCLOUD_VESION=1
|
ARG PHPVERSION=7.4
|
||||||
ARG PHPVERSION=8.1
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
#Initial update packges
|
#Initial update packges
|
||||||
RUN apt update && apt upgrade
|
RUN apt update && apt upgrade -y
|
||||||
|
|
||||||
# Language setup
|
# Language setup
|
||||||
ENV LANG en_US.UTF-8
|
ENV LANG en_US.UTF-8
|
||||||
@ -18,10 +17,15 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
|
|||||||
&& locale-gen
|
&& locale-gen
|
||||||
|
|
||||||
# Installing basic tools
|
# Installing basic tools
|
||||||
RUN apt install zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
|
RUN apt install bzip2 zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
|
||||||
&& apt auto-remove -y \
|
&& apt auto-remove -y \
|
||||||
&& apt clean -y
|
&& apt clean -y
|
||||||
|
|
||||||
|
#Download and extract Nextcloud....
|
||||||
|
RUN wget https://download.nextcloud.com/server/releases/latest.tar.bz2 \
|
||||||
|
&& tar -xvf latest.tar.bz2 \
|
||||||
|
&& rm -v latest.tar.bz2
|
||||||
|
|
||||||
# Installing and configuring nginx
|
# Installing and configuring nginx
|
||||||
RUN apt install nginx -y --no-install-recommends \
|
RUN apt install nginx -y --no-install-recommends \
|
||||||
&& apt auto-remove -y \
|
&& apt auto-remove -y \
|
||||||
@ -40,39 +44,66 @@ RUN wget https://packages.sury.org/php/apt.gpg \
|
|||||||
&& apt update
|
&& apt update
|
||||||
|
|
||||||
#Installing and configure PHP
|
#Installing and configure PHP
|
||||||
RUN apt install php${PHPVERSION} -y --no-install-recommends \
|
RUN apt install php${PHPVERSION}-fpm php${PHPVERSION} -y --no-install-recommends \
|
||||||
&& mkdir /run/php/
|
&& mkdir /run/php/
|
||||||
|
|
||||||
#Installing Required PHP Modules
|
#Installing Required PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{fpm,cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends
|
||||||
|
|
||||||
#Installing database connector PHP Modules
|
#Installing database connector PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-mysql --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-mysql --no-install-recommends
|
||||||
|
|
||||||
#Installing recommended PHP Modules
|
#Installing recommended PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{fileinfo,bz2,intl} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{fileinfo,bz2,intl} --no-install-recommends
|
||||||
|
|
||||||
#Installing Optional Specific app PHP Modules
|
#Installing Optional Specific app PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{gmp,exif} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{gmp,exif} --no-install-recommends
|
||||||
#Installing Optional server performance enhancement PHP Modules
|
#Installing Optional server performance enhancement PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{apcu,memcached,redis} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{apcu,memcached,redis} --no-install-recommends
|
||||||
|
|
||||||
#Installing optional PHP modules and tools for preview generation #Maybe add LibreOffice here
|
#Installing optional PHP modules and tools for preview generation #Maybe add LibreOffice here
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoffice --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-imagick libmagickcore-6.q16-6-extra imagemagick ffmpeg libreoffice --no-install-recommends
|
||||||
|
|
||||||
#Installing Optional cli enhancement PHP Modules
|
#Installing Optional cli enhancement PHP Modules
|
||||||
#RUN bash -c 'apt install -y php${PHPVERSION}-pcntl --no-install-recommends'
|
#RUN apt install -y php${PHPVERSION}-pcntl --no-install-recommendsb
|
||||||
|
|
||||||
|
#Installing Optional PHP module requried for face recogniton
|
||||||
|
|
||||||
|
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 - \
|
||||||
|
&& apt update \
|
||||||
|
&& apt install -y php${PHPVERSION}-pdlib --no-install-recommends \
|
||||||
|
&& apt auto-remove -y \
|
||||||
|
&& apt clean -y
|
||||||
|
|
||||||
|
#RUN apt install php${PHPVERSION}-dev libx11-dev libopenblas-dev liblapack-dev make cmake gcc g++ -y \
|
||||||
|
# && git clone https://github.com/davisking/dlib.git \
|
||||||
|
# && cd dlib/dlib && mkdir build && cd build \
|
||||||
|
# && cmake -DBUILD_SHARED_LIBS=ON .. \
|
||||||
|
# && make && make install \
|
||||||
|
# && cd \
|
||||||
|
# && git clone https://github.com/goodspb/pdlib.git \
|
||||||
|
# && cd pdlib \
|
||||||
|
# && phpize && ./configure --enable-debug \
|
||||||
|
# && make && make install \
|
||||||
|
# && apt auto-remove -y \
|
||||||
|
# && apt clean -y \
|
||||||
|
# && rm -vr pdlib dlib
|
||||||
|
|
||||||
# Delete default stuff
|
# Delete default stuff
|
||||||
#nginx
|
|
||||||
RUN rm -rv /var/www/html/index.nginx-debian.html \
|
RUN rm -rv /var/www/html/index.nginx-debian.html \
|
||||||
/etc/php/ \
|
/etc/php/ \
|
||||||
/etc/nginx/
|
/etc/nginx/ \
|
||||||
|
/root/nextcloud/config/
|
||||||
|
|
||||||
|
# enable cron.php to run
|
||||||
|
RUN usermod --shell '/bin/bash' www-data \
|
||||||
|
&& echo -e "bruh\nbruh" | passwd www-data
|
||||||
|
|
||||||
#Autoconfig defaults
|
#Autoconfig defaults
|
||||||
RUN mkdir -pv default_configs/etc/
|
RUN mkdir -pv default_configs/etc/ default_configs/var/
|
||||||
COPY buildfiles/etc/ default_configs/etc/
|
COPY buildfiles/etc/ default_configs/etc/
|
||||||
|
COPY buildfiles/var/ default_configs/var/
|
||||||
|
|
||||||
#autostart files
|
#autostart files
|
||||||
COPY buildfiles/auto_config.sh .
|
COPY buildfiles/auto_config.sh .
|
||||||
|
54
README.md
54
README.md
@ -1,3 +1,57 @@
|
|||||||
## NextCloud Docker
|
## NextCloud Docker
|
||||||
I dont like official nextcloud docker
|
I dont like official nextcloud docker
|
||||||
|
|
||||||
|
|
||||||
|
- `docker-compose.yml`
|
||||||
|
```yaml
|
||||||
|
version: '3.5'
|
||||||
|
services:
|
||||||
|
#########################
|
||||||
|
app:
|
||||||
|
image: git.shihaam.dev/dockerfiles/nextcloud
|
||||||
|
hostname: nextcloud
|
||||||
|
volumes:
|
||||||
|
- ./configs/init:/root/init
|
||||||
|
- ./configs/etc/nginx:/etc/nginx
|
||||||
|
- ./configs/etc/php:/etc/php
|
||||||
|
- ./configs/var/www/html/config:/var/www/html/config
|
||||||
|
- ./logs:/root/logs
|
||||||
|
- ./nextcloud:/var/www/html
|
||||||
|
- ./nextcloud-apps:/var/www/html/apps
|
||||||
|
- /mnt/hdd/nextcloud-data:/var/www/html/data #CHANGE MOUNT POINT FOR THIS
|
||||||
|
ports:
|
||||||
|
- 8000:80
|
||||||
|
#########################
|
||||||
|
db:
|
||||||
|
image: mysql:8
|
||||||
|
environment:
|
||||||
|
MYSQL_DATABASE: nextcloud
|
||||||
|
MYSQL_USER: nextcloud
|
||||||
|
MYSQL_PASSWORD: nextcloud
|
||||||
|
MYSQL_ALLOW_EMPTY_PASSWORD: true
|
||||||
|
volumes:
|
||||||
|
- ./database:/var/lib/mysql
|
||||||
|
```
|
||||||
|
|
||||||
|
- You must use a reverse proxy with SSL before starting to setup, personally i use nginx with certbot. \
|
||||||
|
here is my nginx config
|
||||||
|
```nginx
|
||||||
|
server {
|
||||||
|
server_name nextcloud.shihaam.me; #Change this to your domain
|
||||||
|
listen 80;
|
||||||
|
location / {
|
||||||
|
proxy_pass http://localhost:8000;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
- SSL with certbot
|
||||||
|
```bash
|
||||||
|
sudo certbot --nginx -d nextcloud.shihaam.me
|
||||||
|
```
|
||||||
|
- Configure your DNS accordingly and then.. thats it, enjoy.
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,13 +6,24 @@ ln -sv /etc/nginx/sites-available/nextcloud_nginx.conf /etc/nginx/sites-enabled/
|
|||||||
|
|
||||||
#config php
|
#config php
|
||||||
cp -rv default_configs/etc/php /etc/
|
cp -rv default_configs/etc/php /etc/
|
||||||
touch init/init
|
|
||||||
|
#Copy nextcloud to web root
|
||||||
|
cp -rv nextcloud/* /var/www/html/
|
||||||
|
|
||||||
|
# Copy nextcloud config.php
|
||||||
|
cp -rv default_configs/var/www/html/config/ /var/www/html/
|
||||||
|
|
||||||
#Create log dirs
|
#Create log dirs
|
||||||
mkdir -pv /root/logs/nginx
|
mkdir -pv /root/logs/nginx
|
||||||
mkdir -pv /root/logs/php-fpm
|
mkdir -pv /root/logs/php-fpm
|
||||||
|
mkdir -pv /root/logs/nextcloud
|
||||||
|
|
||||||
echo defaults configs are deployed, please check and change any required configs and restart container
|
mkdir /tmp/nextcloudtemp
|
||||||
|
chmod -R 777 /tmp/nextcloudtemp
|
||||||
|
|
||||||
pkill bash
|
#Change netcloud dir ownership
|
||||||
|
chown -R www-data:www-data /root/logs/nextcloud/
|
||||||
|
chown -R www-data:www-data /var/www/html/
|
||||||
|
|
||||||
|
|
||||||
|
touch init/init
|
||||||
|
@ -14,7 +14,7 @@ server {
|
|||||||
error_log /root/logs/nginx/error.log;
|
error_log /root/logs/nginx/error.log;
|
||||||
|
|
||||||
# Path to the root of your installation
|
# Path to the root of your installation
|
||||||
root /var/www/nextcloud;
|
root /var/www/html;
|
||||||
|
|
||||||
# Prevent nginx HTTP Server Detection
|
# Prevent nginx HTTP Server Detection
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
@ -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;
|
||||||
|
1
buildfiles/etc/php/7.4/cli/conf.d/10-mysqlnd.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/10-mysqlnd.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/mysqlnd.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/10-opcache.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/10-opcache.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/opcache.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/10-pdo.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/10-pdo.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/pdo.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/15-xml.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/15-xml.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xml.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-apcu.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-apcu.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/apcu.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-bcmath.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-bcmath.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/bcmath.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-bz2.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-bz2.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/bz2.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-calendar.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-calendar.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/calendar.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-ctype.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-ctype.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/ctype.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-curl.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-curl.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/curl.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-dom.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-dom.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/dom.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-exif.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-exif.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/exif.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-ffi.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-ffi.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/ffi.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-fileinfo.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-fileinfo.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/fileinfo.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-ftp.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-ftp.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/ftp.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-gd.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-gd.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/gd.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-gettext.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-gettext.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/gettext.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-gmp.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-gmp.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/gmp.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-iconv.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-iconv.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/iconv.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-igbinary.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-igbinary.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/igbinary.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-imagick.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-imagick.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/imagick.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-intl.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-intl.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/intl.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-json.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-json.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/json.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-mbstring.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-mbstring.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/mbstring.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-msgpack.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-msgpack.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/msgpack.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-mysqli.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-mysqli.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/mysqli.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-pdlib.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-pdlib.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mods-available/20-pdlib.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-pdo_mysql.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-pdo_mysql.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/pdo_mysql.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-phar.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-phar.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/phar.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-posix.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-posix.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/posix.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-readline.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-readline.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/readline.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-redis.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-redis.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/redis.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-shmop.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-shmop.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/shmop.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-simplexml.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-simplexml.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/simplexml.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-sockets.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-sockets.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sockets.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-sysvmsg.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-sysvmsg.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sysvmsg.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-sysvsem.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-sysvsem.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sysvsem.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-sysvshm.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-sysvshm.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sysvshm.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-tokenizer.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-tokenizer.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/tokenizer.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-xmlreader.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-xmlreader.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xmlreader.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-xmlwriter.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-xmlwriter.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xmlwriter.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-xsl.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-xsl.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xsl.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/20-zip.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/20-zip.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/zip.ini
|
1
buildfiles/etc/php/7.4/cli/conf.d/25-memcached.ini
Symbolic link
1
buildfiles/etc/php/7.4/cli/conf.d/25-memcached.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/memcached.ini
|
File diff suppressed because it is too large
Load Diff
1
buildfiles/etc/php/7.4/fpm/conf.d/10-mysqlnd.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/10-mysqlnd.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/mysqlnd.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/10-opcache.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/10-opcache.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/opcache.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/10-pdo.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/10-pdo.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/pdo.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/15-xml.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/15-xml.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xml.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-apcu.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-apcu.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/apcu.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-bcmath.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-bcmath.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/bcmath.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-bz2.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-bz2.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/bz2.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-calendar.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-calendar.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/calendar.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-ctype.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-ctype.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/ctype.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-curl.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-curl.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/curl.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-dom.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-dom.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/dom.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-exif.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-exif.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/exif.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-ffi.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-ffi.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/ffi.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-fileinfo.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-fileinfo.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/fileinfo.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-ftp.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-ftp.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/ftp.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-gd.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-gd.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/gd.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-gettext.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-gettext.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/gettext.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-gmp.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-gmp.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/gmp.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-iconv.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-iconv.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/iconv.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-igbinary.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-igbinary.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/igbinary.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-imagick.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-imagick.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/imagick.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-intl.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-intl.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/intl.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-json.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-json.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/json.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-mbstring.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-mbstring.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/mbstring.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-msgpack.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-msgpack.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/msgpack.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-mysqli.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-mysqli.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/mysqli.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-pdlib.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-pdlib.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mods-available/20-pdlib.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-pdo_mysql.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-pdo_mysql.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/pdo_mysql.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-phar.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-phar.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/phar.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-posix.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-posix.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/posix.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-readline.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-readline.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/readline.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-redis.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-redis.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/redis.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-shmop.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-shmop.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/shmop.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-simplexml.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-simplexml.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/simplexml.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sockets.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sockets.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sockets.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sysvmsg.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sysvmsg.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sysvmsg.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sysvsem.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sysvsem.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sysvsem.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sysvshm.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-sysvshm.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/sysvshm.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-tokenizer.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-tokenizer.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/tokenizer.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-xmlreader.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-xmlreader.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xmlreader.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-xmlwriter.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-xmlwriter.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xmlwriter.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-xsl.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-xsl.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/xsl.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/20-zip.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/20-zip.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/zip.ini
|
1
buildfiles/etc/php/7.4/fpm/conf.d/25-memcached.ini
Symbolic link
1
buildfiles/etc/php/7.4/fpm/conf.d/25-memcached.ini
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/etc/php/7.4/mods-available/memcached.ini
|
@ -16,14 +16,14 @@
|
|||||||
; Default Value: none
|
; Default Value: none
|
||||||
; Warning: if you change the value here, you need to modify systemd
|
; Warning: if you change the value here, you need to modify systemd
|
||||||
; service PIDFile= setting to match the value here.
|
; service PIDFile= setting to match the value here.
|
||||||
pid = /run/php/php8.1-fpm.pid
|
pid = /run/php/php7.4-fpm.pid
|
||||||
|
|
||||||
; Error log file
|
; Error log file
|
||||||
; If it's set to "syslog", log is sent to syslogd instead of being written
|
; If it's set to "syslog", log is sent to syslogd instead of being written
|
||||||
; into a local file.
|
; into a local file.
|
||||||
; Note: the default prefix is /var
|
; Note: the default prefix is /var
|
||||||
; Default Value: log/php-fpm.log
|
; Default Value: log/php-fpm.log
|
||||||
error_log = /root/logs/php-fpm/php8.1-fpm.log
|
error_log = /root/logs/php-fpm/php-fpm.log
|
||||||
|
|
||||||
; syslog_facility is used to specify what type of program is logging the
|
; syslog_facility is used to specify what type of program is logging the
|
||||||
; message. This lets syslogd specify that messages from different facilities
|
; message. This lets syslogd specify that messages from different facilities
|
||||||
@ -55,7 +55,7 @@ error_log = /root/logs/php-fpm/php8.1-fpm.log
|
|||||||
; Log buffering specifies if the log line is buffered which means that the
|
; Log buffering specifies if the log line is buffered which means that the
|
||||||
; line is written in a single write operation. If the value is false, then the
|
; line is written in a single write operation. If the value is false, then the
|
||||||
; data is written directly into the file descriptor. It is an experimental
|
; data is written directly into the file descriptor. It is an experimental
|
||||||
; option that can potentially improve logging performance and memory usage
|
; option that can potentionaly improve logging performance and memory usage
|
||||||
; for some heavy logging scenarios. This option is ignored if logging to syslog
|
; for some heavy logging scenarios. This option is ignored if logging to syslog
|
||||||
; as it has to be always buffered.
|
; as it has to be always buffered.
|
||||||
; Default value: yes
|
; Default value: yes
|
||||||
@ -142,4 +142,4 @@ error_log = /root/logs/php-fpm/php8.1-fpm.log
|
|||||||
; Relative path can also be used. They will be prefixed by:
|
; Relative path can also be used. They will be prefixed by:
|
||||||
; - the global prefix if it's been set (-p argument)
|
; - the global prefix if it's been set (-p argument)
|
||||||
; - /usr otherwise
|
; - /usr otherwise
|
||||||
include=/etc/php/8.1/fpm/pool.d/*.conf
|
include=/etc/php/7.4/fpm/pool.d/*.conf
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user