diff --git a/.env b/.env index f843bce..a582bee 100644 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ TimeZone=America/New_York OLS_VERSION=1.7.16 -PHP_VERSION=lsphp81 +PHP_VERSION=lsphp74 MYSQL_DATABASE=ke_website MYSQL_ROOT_PASSWORD=Pooria3128! MYSQL_USER=ke_webmaster diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3c9ff65 --- /dev/null +++ b/Dockerfile @@ -0,0 +1 @@ +RUN apt-get update && apt-get install -y nano zsh git unzip locate diff --git a/bin/container/wp b/bin/container/wp new file mode 100755 index 0000000..3f631fa Binary files /dev/null and b/bin/container/wp differ diff --git a/docker-compose.yml b/docker-compose.yml index 0f77563..c0531b4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,14 @@ version: '3' services: + redis: + image: 'bitnami/redis:latest' + environment: + - ALLOW_EMPTY_PASSWORD=yes + networks: + - default + ports: + - "6379:6379" + restart: always mysql: image: mariadb:10.5.9 logging: @@ -16,6 +25,9 @@ services: networks: - default litespeed: + build: + context: . + dockerfile: Dockerfile image: litespeedtech/openlitespeed:${OLS_VERSION}-${PHP_VERSION} logging: driver: none @@ -35,6 +47,7 @@ services: - 7080:7080 restart: always environment: + DATABASE_HOST: mysql TZ: ${TimeZone} networks: - default @@ -50,4 +63,4 @@ services: - default networks: default: - driver: bridge \ No newline at end of file + driver: bridge diff --git a/mp.pdf b/mp.pdf new file mode 100644 index 0000000..63e5d0a Binary files /dev/null and b/mp.pdf differ diff --git a/sites/localhost/html/.gitignore b/sites/localhost/html/.gitignore old mode 100755 new mode 100644 index d6b7ef3..3e2594b --- a/sites/localhost/html/.gitignore +++ b/sites/localhost/html/.gitignore @@ -1,2 +1,16 @@ -* -!.gitignore +readme.html +wp-snapshots/* +roundcube/* +phpmyadmin/* +wp-content/cache* +wp-content/backups-dup-pro* +wp-content/updraft* +*.zip +*.rar +*tar.gz +*.log +wp-content/advanced-cache.php +wp-content/wp-rocket-config/localhost.php +awstatsicons/* +wp-content/litespeed/* +wp-content/.litespeed_conf.dat \ No newline at end of file