diff --git a/Docker/README.md b/Docker/README.md deleted file mode 100644 index 44dd3f67..00000000 --- a/Docker/README.md +++ /dev/null @@ -1,79 +0,0 @@ -# Run ZPhiSher in Docker Compose - -![docker](https://img.shields.io/badge/Docker-v19.03.12-blue?style=plastic&logo=docker) -![dockercompose](https://img.shields.io/badge/Docker_Compose-v1.25.4-orange?style=plastic&logo=docker) -![Maintainer](https://img.shields.io/badge/Maintainer-Equinockx-success?style=plastic&logo=terraform) - - -## Runnin within container - - -## Requeriments - -- [X] Docker -- [X] docker-compose - -## Usage Mode - -Clone the repo from Github -```bash -git clone https://github.com/htr-tech/zphisher -cd zpshisher -``` - -Run docker-compose - -```bash -docker-compose up --build -d -``` -'_Don not need redirection of ports 'cause the container is exposed to internet_'
-Verify of the container is running with: - -```bash -equinockx~$ docker-compose ps - - Name Command State Ports -------------------------------------------- -zphisher bash zphisher.sh Up - -``` - - -Executing zphisher inside of container - -```bash -docker-compose exec zphisher bash zphisher.sh -``` - -## Persist Data - -When we make or buils the service with `docker-compose up --build -d` this persist the data templates in the same folder `websites`. -If you add the new Template in `websites` this will be reflected in the container and you can use it. - -- [X] `equinockx~/websites$` -- [X] websites - -## First Start the services - -```bash -docker-compose up --build -d -``` -## Down the container -```bash -docker-compose down -``` -## Stop the services - -```bash -docker-compose stop -``` -## Start the services - -With this command docker-compose will initialize the service stopped - -```bash -docker-compose start -``` - - - diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 2dc5a9ab..00000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM debian:10 -LABEL MAINTAINER="Equinockx moisestapia741@gmail.com" - -WORKDIR /home/ - -COPY . /home/ - -RUN apt-get update && \ - apt-get install -y --no-install-recommends openssh-server && \ - apt-get install -y curl && \ - apt-get install --no-install-recommends -y php && \ - apt-get install -y unzip && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* \ No newline at end of file diff --git a/README.md b/README.md index 77559614..5f2da04f 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,14 @@ ## Installation : * `apt update` -* `apt install git curl php openssh-server -y` +* `apt install git curl php openssh -y` * `git clone git://github.com/htr-tech/zphisher.git` * `cd zphisher` #### > Run : `bash zphisher.sh` ## Single Command : ``` -apt update ; apt install git curl php openssh-server -y ; git clone git://github.com/htr-tech/zphisher.git ; cd zphisher ; bash zphisher.sh +apt update ; apt install git curl php openssh -y ; git clone git://github.com/htr-tech/zphisher.git ; cd zphisher ; bash zphisher.sh ```

diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 1e061cc7..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: '3.7' - -networks: - internet: - driver: bridge - -services: - - zphisher: - - container_name: zphisher - build: . - image: zphisher:v0.1 - command: bash zphisher.sh - stdin_open: true - tty: true - volumes: - - $PWD/websites:/home/websites - networks: - - internet - restart: always \ No newline at end of file