diff --git a/README.md b/README.md index cac4d08..213a580 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ - [x] Provide environment, ex. `${SERVER_HOST}` for docker host IP - [x] Add filtering to `find` command, to seach for tags or name - [ ] App port binding, i.e. phpmyadmin on 9000, phpcacheadmin on 9001 +- [ ] Make use of a `~/.serverenvs` to override envs for instances ## Examples @@ -73,9 +74,7 @@ Lookup the IP on your host. On Linux you would do something like: ``` $ ip addr show docker0 6: docker0: mtu 1500 qdisc noqueue state UP group default - link/ether 02:42:69:cd:44:2c brd ff:ff:ff:ff:ff:ff +... inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0 - valid_lft forever preferred_lft forever - inet6 fe80::42:69ff:fecd:442c/64 scope link - valid_lft forever preferred_lft forever +... ``` diff --git a/registry/mariadb.json b/registry/mariadb.json index 6622432..15c04e8 100644 --- a/registry/mariadb.json +++ b/registry/mariadb.json @@ -2,6 +2,7 @@ "$type": "service", "name": "mariadb", "description": "MariaDB RDBMS (MySQL fork)", + "help": "Default credentials are root/toor", "tags": [ "rdbms", "mysql" ], "author": null, "image": "mariadb", diff --git a/registry/mysql.json b/registry/mysql.json index b1fc9b8..2847805 100644 --- a/registry/mysql.json +++ b/registry/mysql.json @@ -2,6 +2,7 @@ "$type": "service", "name": "mysql", "description": "MySQL RDBMS", + "help": "Default credentials are root/toor", "tags": [ "rdbms", "mysql" ], "author": null, "image": "mysql", diff --git a/registry/openldap.json b/registry/openldap.json new file mode 100644 index 0000000..fe09426 --- /dev/null +++ b/registry/openldap.json @@ -0,0 +1,28 @@ +{ + "$type": "service", + "name": "openldap", + "description": "LDAP directory server", + "tags": [ "ldap" ], + "author": null, + "image": "osixia/openldap", + "environment": { + "LDAP_ORGANISATION": "organisation", + "LDAP_DOMAIN": "domain.tld", + "LDAP_ADMIN_USERNAME": "admin", + "LDAP_ADMIN_PASSWORD": "nimda", + "LDAP_CONFIG_PASSWORD": "password", + "LDAP_BASE_DN": "dc=domain,dc=tld", + "LDAP_READONLY_USER": true, + "LDAP_READONLY_USER_USERNAME": "user-ro", + "LDAP_READONLY_USER_PASSWORD": "ro_pass" + }, + "ports": [ + { "port": 389, "info": "LDAP" }, + { "port": 636, "info": "LDAPS" } + ], + "persistence": [ + { "path": "/container/service/slapd/assets/certs", "hint": "certs" }, + { "path": "/var/lib/ldap", "hint": "ldap" }, + { "path": "/etc/ldap/slapd.d", "hint": "slapd" } + ] +} diff --git a/registry/phpcacheadmin.json b/registry/phpcacheadmin.json index da2e6ed..af40b4f 100644 --- a/registry/phpcacheadmin.json +++ b/registry/phpcacheadmin.json @@ -1,7 +1,7 @@ { "$type": "service", "name": "phpcacheadmin", - "description": "", + "description": "Web UI for Redis and Memcached", "tags": [ "app", "redis", "memcached" ], "author": null, "image": "robinn/phpcacheadmin", diff --git a/registry/phpldapadmin.json b/registry/phpldapadmin.json new file mode 100644 index 0000000..c4024b3 --- /dev/null +++ b/registry/phpldapadmin.json @@ -0,0 +1,15 @@ +{ + "$type": "service", + "name": "phpldapadmin", + "description": "Web UI for LDAP", + "tags": [ "app", "ldap" ], + "author": null, + "image": "osixia/phpldapadmin", + "environment": { + "PHPLDAPADMIN_LDAP_HOSTS": "${DOCKER_HOST}", + "PHPLDAPADMIN_HTTPS": "false" + }, + "ports": [ + { "port": 8080, "target": 80, "info": "HTTP Admin" } + ] +} diff --git a/registry/phpmyadmin.json b/registry/phpmyadmin.json new file mode 100644 index 0000000..3858c8c --- /dev/null +++ b/registry/phpmyadmin.json @@ -0,0 +1,16 @@ +{ + "$type": "service", + "name": "phpmyadmin", + "description": "Web UI for MySQL and MariaDB", + "tags": [ "app", "mysql", "mariadb" ], + "author": null, + "image": "phpmyadmin", + "environment": { + "PMA_HOST": "${DOCKER_HOST}", + "PMA_PORT": 3306, + "MYSQL_ROOT_PASSWORD": "toor" + }, + "ports": [ + { "port": 8080, "target": 80, "info": "HTTP Admin" } + ] +}