diff --git a/docker-compose/.env b/docker-compose/.env new file mode 100644 index 0000000..6dd7e06 --- /dev/null +++ b/docker-compose/.env @@ -0,0 +1,14 @@ +# apache2 and php +WWW_PORT_HOST=8088 + +# mysql +MYSQL_PORT_HOST=3307 +MYSQL_DATABASE=nmaprincesspi + +# find some way to reliably randomize these wtf docker +MYSQL_ROOT_PASSWORD=T6t8DfHkEK37fckEp8dUvrc7y0v2rDAr +MYSQL_USER=princesspi +MYSQL_PASSWORD=RHvjM12yeU71PTcrqbPp2w7xYxjwd21n + +# phpmyadmin +PHPMYADMIN_PORT_HOST=8089 \ No newline at end of file diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml new file mode 100644 index 0000000..ba06f22 --- /dev/null +++ b/docker-compose/docker-compose.yml @@ -0,0 +1,44 @@ +version: '3.8' +services: + # Apache and PHP service + web: + image: php:8-apache + container_name: php-apache-container + ports: + - "${WWW_PORT_HOST}:80" + volumes: + - ./:/var/www/html + + # MySQL service + mysql: + image: mysql:8.0 + networks: + - pinet + container_name: mysql-container + ports: + - "${MYSQL_PORT_HOST}:3306" + environment: + MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} + MYSQL_DATABASE: ${MYSQL_DATABASE} + MYSQL_USER: ${MYSQL_USER} + MYSQL_PASSWORD: ${MYSQL_PASSWORD} + volumes: + - ./mysql-data:/var/lib/mysql + + # phpMyAdmin service + phpmyadmin: + image: phpmyadmin/phpmyadmin + networks: + - pinet + container_name: phpmyadmin-container + ports: + - "${PHPMYADMIN_PORT_HOST}:80" + environment: + PMA_HOST: mysql + MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} + depends_on: + - mysql + +# Define networks +networks: + pinet: \ No newline at end of file diff --git a/docker-compose/index.html b/docker-compose/index.html new file mode 100644 index 0000000..6bb90c6 --- /dev/null +++ b/docker-compose/index.html @@ -0,0 +1 @@ +dingleberg diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..f99d89c Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/princesspi-large-alpha-transparency-more-faded.png b/img/princesspi-large-alpha-transparency-more-faded.png new file mode 100644 index 0000000..63c030e Binary files /dev/null and b/img/princesspi-large-alpha-transparency-more-faded.png differ diff --git a/xsl/nmap.xsl b/xsl/nmap.xsl index cd53eb7..5f170bc 100644 --- a/xsl/nmap.xsl +++ b/xsl/nmap.xsl @@ -345,9 +345,9 @@ } - + Nmap Scan Report - Scanned at <xsl:value-of select="$start" /> - +