Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
c0m4r authored Jan 17, 2024
1 parent ce6dc35 commit 8405de3
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ IP Info page with geoip detection. Written in PHP, built with Twig, Bootstrap an
edit config.php and change the path to the GeoLite2-City.mmdb file respectively.
5. Edit manifest.json and change `start_url` for PWA.

#### Quick setup
#### Manual

```bash
git clone https://github.com/c0m4r/ip-info-page.git
Expand All @@ -49,6 +49,22 @@ php composer.phar update

#### Docker

Now available on the [Docker Hub](https://hub.docker.com/r/c0m4r/ip-info-page)

Quick setup:

```
docker run --name ipp -p 127.0.0.1:8080:80 -d c0m4r/ip-info-page
```

With GeoIP module:

```
docker run --name ipp -v ./GeoLite2-City.mmdb:/var/www/html/GeoLite2-City.mmdb -p 127.0.0.1:8080:80 -d c0m4r/ip-info-page
```

You can also build it yourself:

```bash
git clone https://github.com/c0m4r/ip-info-page.git
cd ip-info-page
Expand Down

0 comments on commit 8405de3

Please sign in to comment.