Clean repo
This commit is contained in:
@@ -1,47 +0,0 @@
|
|||||||
# LEMP Linux NGINX MariaDB PHP
|
|
||||||
|
|
||||||
services:
|
|
||||||
multi-php-fpm:
|
|
||||||
restart: unless-stopped
|
|
||||||
image: eroncero/multi-php-fpm:latest
|
|
||||||
volumes:
|
|
||||||
#- ./etc/php/8.2/fpm/pool.d:/etc/php/8.2/fpm/pool.d
|
|
||||||
- multi-php-fpm_pool.d:/etc/php/8.2/fpm/pool.d
|
|
||||||
- multi-php-fpm_ipc_socketfile:/run/php/
|
|
||||||
|
|
||||||
nginx:
|
|
||||||
restart: unless-stopped
|
|
||||||
image: eroncero/nginx-srv:latest
|
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
- 443:443
|
|
||||||
- [::]:80:80
|
|
||||||
- [::]:443:443
|
|
||||||
volumes:
|
|
||||||
- nginx_sites-available:/etc/nginx/sites-available
|
|
||||||
- nginx_www:/etc/nginx/sites-available
|
|
||||||
- nginx_logs:/var/log/nginx
|
|
||||||
|
|
||||||
mariadb:
|
|
||||||
restart: unless-stopped
|
|
||||||
image: eroncero/mariadb-srv:latest
|
|
||||||
ports:
|
|
||||||
- 3306:3306
|
|
||||||
- [::]:3306:3306
|
|
||||||
volumes:
|
|
||||||
- mysql_data:/var/lib/mysql
|
|
||||||
- mysql_config:/etc/mysql
|
|
||||||
- mysql_ipc_socketfile:/run/mysqld/mysqld.sock
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
multi-php-fpm_pool.d:
|
|
||||||
nginx_sites-available:
|
|
||||||
mysql_ipc_socketfile:
|
|
||||||
multi-php-fpm_ipc_socketfile:
|
|
||||||
nginx_logs:
|
|
||||||
nginx_www:
|
|
||||||
nginx_sites-available:
|
|
||||||
mysql_data:
|
|
||||||
mysql_config:
|
|
||||||
|
|
||||||
#networks:
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
FROM debian:bookworm
|
|
||||||
|
|
||||||
RUN apt-get update; apt-get full-upgrade -y; apt-get autoclean -y
|
|
||||||
|
|
||||||
COPY project/buildtime/gen_selfisgned_cert.sh /tmp/buildtime/gen_selfisgned_cert.sh
|
|
||||||
RUN /bin/sh /tmp/buildtime/gen_selfsigned_cert.sh
|
|
||||||
|
|
||||||
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
|
|
||||||
COPY project/entrypoint/install-nginx-mods.sh /entrypoint/install-nginx-mods.sh
|
|
||||||
ENTRYPOINT ["/bin/sh", "/entrypoint/entrypoint.sh"]
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
|
|
||||||
# Generate a fresh cert every time
|
|
||||||
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \
|
|
||||||
-keyout /etc/ssl/private/ssl-cert-snakeoil.key \
|
|
||||||
-out /etc/ssl/certs/ssl-cert-snakeoil.pem \
|
|
||||||
-subj "/C=US/ST=Exam"
|
|
||||||
|
|
||||||
echo "Generated self-signed cert:"
|
|
||||||
ls -l /etc/ssl/private/
|
|
||||||
ls -l /etc/ssl/certs/
|
|
||||||
###
|
|
||||||
Reference in New Issue
Block a user