Sign inSign up

isears/refapp-production

By isears

•Updated over 7 years ago

Production-ready OpenMRS reference application

Image
0

1.7K

isears/refapp-production repository overview

⁠Production Reference Application

Automated travis-ci build triggered from this repo: https://github.com/isears/openmrs-sdk/tree/production-images⁠

⁠Supported Options

  • DB_DATABASE (required)
  • DB_HOST (required)
  • DB_USERNAME (required)
  • DB_PASSWORD (required)
  • DB_CREATE_TABLES: 'false'/'true' (default: false)
  • DB_AUTO_UPDATE: 'false'/'true' (default: false)
  • MODULE_WEB_ADMIN: 'false'/'true' (default: true)
  • DEBUG: 'false'/'true' (default: false)
  • OPENMRS_ADMIN_PASSWORD (required)

⁠Example Docker Compose YAML

version: '2'

services:
  db:
    image: mysql:5.6
    command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci"
    environment:
      MYSQL_DATABASE: openmrs
      MYSQL_ROOT_PASSWORD: Admin123
      MYSQL_USER: openmrs
      MYSQL_PASSWORD: Admin123


  web:
    build: web
    image: referenceapplication:2.7.0
    depends_on:
      - db
    environment:
      DB_DATABASE: openmrs
      DB_HOST: db
      DB_USERNAME: openmrs
      DB_PASSWORD: Admin123
      DB_CREATE_TABLES: 'true'  # change to 'true' if using an empty database
      DB_AUTO_UPDATE: 'true'    # change to 'true' if using an empty database
      MODULE_WEB_ADMIN: 'false'   # allow web admin on OpenMRS
      OPENMRS_ADMIN_PASSWORD: 'CustomPassword123'

Tag summary

Content type

Image

Digest

Size

351.5 MB

Last updated

over 7 years ago

docker pull isears/refapp-production