Last active
July 2, 2024 07:40
-
-
Save bradymiller/02910ee5ff1aedcee1e3dc450c9bbb56 to your computer and use it in GitHub Desktop.
openemr-flex-320-docker-example-docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below) | |
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr | |
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr | |
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and | |
# if not provided, then default to openemr, openemr, admin, and pass respectively. | |
version: '3.1' | |
services: | |
mysql: | |
restart: always | |
image: mariadb:11.4 | |
command: ['mariadbd','--character-set-server=utf8mb4'] | |
volumes: | |
- databasevolume:/var/lib/mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
openemr: | |
restart: always | |
image: openemr/openemr:flex-3.20 | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- logvolume01:/var/log | |
- sitevolume:/var/www/localhost/htdocs/openemr/sites | |
environment: | |
MYSQL_HOST: mysql | |
MYSQL_ROOT_PASS: root | |
MYSQL_USER: openemr | |
MYSQL_PASS: openemr | |
OE_USER: admin | |
OE_PASS: pass | |
FLEX_REPOSITORY: https://github.com/openemr/openemr.git | |
FLEX_REPOSITORY_BRANCH: master | |
depends_on: | |
- mysql | |
volumes: | |
logvolume01: {} | |
sitevolume: {} | |
databasevolume: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment