RedHatOfficial / openemr-kube

OpenShift/Kube deployment info for OpenEMR (https://www.open-emr.org/)
11 stars 13 forks source link

Making container image more functional #11

Closed bostrt closed 4 years ago

bostrt commented 4 years ago

@isimluk Here's some work on the Dockerfile so it will run in OpenShift (4). It runs now but still only seeing the default Apache HTTPD webpage. Now just getting HTTP 503's.

If you want to run a build version of this:

  1. You'll need some certs:
    # oc create secret generic certs --from-file=tls.key=webserver.key.pem --from-file=tls.crt=webserver.cert.pem
  2. Use new-app with an image I built for testing:
    # oc new-app quay.io/bostrt/openemr-test
  3. Mount in the certs:
    # oc set volumes dc/openemr-test --add -t secret --secret-name=certs -m /etc/ssl/certs

This should deploy? :thinking:

isimluk commented 4 years ago

LGTM! :1st_place_medal: