Sign inSign up

tighek/phpipam

By tighek

Updated over 8 years ago

phpIPAM running PHP 5.6 with Apache

Image
0

198

tighek/phpipam repository overview

phpIPAM

phpIPAM is an open-source web IP address management application. Its goal is to provide light and simple IP address management application. phpIPAM is developed and maintained by Miha Petkovsek, released under the GPL v3 license, project source is here.

How to use this Docker image

Mysql

Run a MySQL database, dedicated to phpipam. If you have an existing MariaDB or MySQL running, skip to the next section and adjust the MYSQL environment variables appropriately.

$ docker run --name phpipam-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -v /my_dir/phpipam:/var/lib/mysql -d mysql:5.6
phpIPAM

Start your phpIPAM container with a couple of options:

  • Name is phpipam
  • Always restart the container
  • Limit the log size to 100Mb
  • Expose port 8080 on IP Address 10.1.1.10 for access, it will connect to port 80 on the container.
  • There's a database at IP Address 127.0.0.1. Connect as user root using password my_password.
docker run -d --name phpipam --restart=always --log-opt max-size=100m -p 10.1.1.10:8080:80 -e MYSQL_HOST=127.0.0.1 -e MYSQL_USER=root -e MYSQL_PASSWORD=my_password tighek/phpipam:1.3.1

You could also link to a database container using the --link phpipam-mysql:mysql option if you created a database on this host.

Configuration
Browse to http://[:<specific_port>]/
Step 1 : Choose 'Automatic database installation'
Step 2 : Re-Enter connection information
Step 3 : Configure the admin user password
You're done !

To upgrade the release version, just change the PHPIPAM_VERSION environment variable to the target release.

Tag summary

Content type

Image

Digest

Size

179.6 MB

Last updated

over 8 years ago

docker pull tighek/phpipam