Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2be5ded

Browse files
committedJul 17, 2015
Correct Typos in README
1 parent 819bea5 commit 2be5ded

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed
 

‎README.md

+28-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ phpIPAM is developed and maintained by Miha Petkovsek, released under the GPL v3
66

77
Learn more on [phpIPAM homepage](http://phpipam.net)
88

9-
![phpIPAM logo](http://phpipam.net/wp-content/uploads/2014/12/phpipam_logo_small@2x.png)
9+
![phpIPAM logo](http://phpipam.net/wp-content/uploads/2014/12/phpipam_logo_small.png)
1010

1111
## How to use this Docker image
1212

@@ -18,7 +18,7 @@ Run a MySQL database, dedicated to phpipam
1818
$ docker run --name phpipam-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -v /my_dir/phpipam:/var/lib/mysql -d mysql:5.6
1919
```
2020

21-
Here, we store data on the host system under [`/my_dir/phpipam`] and use a specific root password.
21+
Here, we store data on the host system under `/my_dir/phpipam` and use a specific root password.
2222

2323
### Phpipam
2424

@@ -56,7 +56,32 @@ For multi-host containers, expose ports, run etcd or consul to make service disc
5656

5757
![done](https://cloud.githubusercontent.com/assets/4225738/8746792/0d6fa34e-2c8d-11e5-8002-3793361ae34d.png)
5858

59+
### Docker compose
60+
61+
You can create an all-in-one YAML deployment descriptor with Docker compose, like this :
62+
63+
```yaml
64+
ipam:
65+
build: .
66+
ports:
67+
- "80:80"
68+
links:
69+
- phpipam-mysql
70+
phpipam-mysql:
71+
image: mysql:5.6
72+
environment:
73+
- MYSQL_ROOT_PASSWORD=my-secret-pw
74+
volumes:
75+
- /my_dir/phpipam:/var/lib/mysql
76+
```
77+
78+
And next :
79+
80+
```bash
81+
$ docker-compose up -d
82+
```
83+
5984
### Notes
6085

6186
phpIPAM is under heavy development by the amazing Miha.
62-
To upgrade the release version, just change the `PHPIPAM_VERSION` environment variable to the target release (see https://github.com/phpipam/phpipam/releases)
87+
To upgrade the release version, just change the `PHPIPAM_VERSION` environment variable to the target release (see [here](https://github.com/phpipam/phpipam/releases))

0 commit comments

Comments
 (0)
Please sign in to comment.