Sign inSign up

klinnex/phpipam

By klinnex

•Updated over 8 years ago

PHPIPAM v1.3

Image
1

1.1K

klinnex/phpipam repository overview

⁠docker-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⁠

Learn more on phpIPAM homepage⁠

phpIPAM logo

⁠How to use this Docker image

⁠Mysql

Run a MySQL database, dedicated to phpipam

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

Here, we store data on the host system under /docker/mysql-network and use a specific root password.

⁠Phpipam
$ docker run -ti -d -p 80:80 --name ipam --link mysql-network:mysql klinnex/phpipam

We are linking the two containers and expose the HTTP port.

⁠Specific integration (HTTPS, multi-host containers, etc.)

Regarding your requirements and docker setup, you've to expose resources.

For HTTPS, run a reverse-proxy in front of your phpipam container and link it to.

For multi-host containers, expose ports, run etcd or consul to make service discovery works etc.

⁠Configuration
  • Browse to http://<ip>[:<specific_port>]/
  • Step 1 : Choose 'Automatic database installation'

step1

  • Step 2 : Re-Enter connection information

step2

step3

  • You're done !

done

⁠Docker compose

You can create an all-in-one YAML deployment descriptor with Docker compose, like this :

version: '2' services: mysql-network: image: mysql:5.6 container_name: mysql-network environment: - MYSQL_ROOT_PASSWORD=P@ssword restart: always volumes: - /data/mysql:/var/lib/mysql ipam: container_name: phpipam depends_on: - mysql-network image: klinnex/phpipam environment: - MYSQL_ROOT_PASSWORD=P@ssword ports: - "80:80" links: - "mysql-network:mysql"

And next :

$ docker-compose up -d
⁠Notes

phpIPAM is under heavy development by the amazing Miha. To upgrade the release version, just change the PHPIPAM_VERSION environment variable to the target release (see here⁠)

Tag summary

Content type

Image

Digest

Size

261.6 MB

Last updated

over 8 years ago

docker pull klinnex/phpipam