diff --git a/.github/README.md b/.github/README.md index abf0619..56ab5a3 100644 --- a/.github/README.md +++ b/.github/README.md @@ -779,25 +779,31 @@ Click the button below, to deploy to Vercel 👇 ### Deploying - Option #3: Docker -Pull Image: `docker pull lissy93/web-check` +To deploy using Docker Compose, follow these steps: -Run `docker run -p 3000:3000 lissy93/web-check`, then open [`localhost:3000`](http://localhost:3000) +1. Create a file named `docker-compose.yml` in your project directory and add the following content: -or: + ```yaml + version: '3.9' -Run `docker -d --name webcheck -p 3000:3000 --restart=always lissy93/web-check`, then open [`localhost:3000`](http://localhost:3000) + services: + web-check: + image: lissy93/web-check + ports: + - "3000:3000" + restart: always + container_name: web-check + ``` -This command sets up a detached container, gives it a name (webcheck), and configures it to auto-restart, enabling continuous operation in your environment for OSINT searches. +2. Run the following command to start the service: -
-Docker Options + ```sh + docker-compose up -d + ``` -You can get the Docker image from: -- DockerHub: [`lissy93/web-check`](https://hub.docker.com/r/lissy93/web-check) -- GHCR: [`ghcr.io/lissy93/web-check`](https://github.com/Lissy93/web-check/pkgs/container/web-check) -- Or build the image yourself by cloning the repo and running `docker build -t web-check .` +3. Open [`localhost:3000`](http://localhost:3000) in your browser to access the service. -
+This configuration sets up a detached container, names it `web-check`, and configures it to auto-restart, enabling continuous operation in your environment for OSINT searches. ### Deploying - Option #4: From Source diff --git a/docker-compose.yml b/docker-compose.yml index 4266560..0d82a26 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,9 @@ version: '3.9' + services: web-check: - container_name: Web-Check image: lissy93/web-check ports: - - 3000:3000 - restart: unless-stopped + - "3000:3000" + restart: always + container_name: web-check