Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkilchhofer/openshift-phpmyadmin
Patched "openshift compatible" (rootless) container image of phpmyadmin
https://github.com/mkilchhofer/openshift-phpmyadmin
Last synced: 10 days ago
JSON representation
Patched "openshift compatible" (rootless) container image of phpmyadmin
- Host: GitHub
- URL: https://github.com/mkilchhofer/openshift-phpmyadmin
- Owner: mkilchhofer
- Created: 2017-11-24T16:29:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-24T18:49:18.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T23:39:17.248Z (25 days ago)
- Language: PHP
- Homepage: https://hub.docker.com/r/kicm/openshift-phpmyadmin/
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
The official upstream Docker image from [phpmyadmin](https://hub.docker.com/r/phpmyadmin/phpmyadmin/) isn't compatible with OpenShift Online. This is because OpenShift don't allow you to run stuff insides containers as `root`.# How to configure this image on OpenShift
## Secrets
Create a secret with this command:
```
secret=$(tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?>";.,[]=-' < /dev/urandom | fold -w 32 | head -n 1)cat <> secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: phpmyadmin
stringData:
blowfish_secret: ${secret}
EOF
```And upload it to OpenShift:
```
oc create -f secret.yaml
```
## Environtment Variables
![openshift envionment variables](https://github.com/mkilchhofer/openshift-phpmyadmin/raw/master/docs/images/openshift_envionment_variables.png "OpenShift Envionment Variables")