Improved and added more services

This commit is contained in:
Chris 2022-09-28 13:22:19 +02:00
parent fa940ab19d
commit b21002bec2
7 changed files with 65 additions and 5 deletions

View File

@ -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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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
...
```

View File

@ -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",

View File

@ -2,6 +2,7 @@
"$type": "service",
"name": "mysql",
"description": "MySQL RDBMS",
"help": "Default credentials are root/toor",
"tags": [ "rdbms", "mysql" ],
"author": null,
"image": "mysql",

28
registry/openldap.json Normal file
View File

@ -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" }
]
}

View File

@ -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",

View File

@ -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" }
]
}

16
registry/phpmyadmin.json Normal file
View File

@ -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" }
]
}