Situation
Hi,
I have just started looking at OpenEMR and would like to get it running with Docker. I’m running Docker Desktop for Windows 20.10.6.
I have set up the following docker-compose.yml file, and my understanding is that if I simply run that using ‘docker-compose up’ and wait 5 or 10 minutes and then open a browser and navigate to ‘http://localhost/openemr/’ I should see the login page.
Unfortunately I just get a 404.
The docker-compose.yml file is:
# 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
# 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:10.5
command: ['mysqld','--character-set-server=utf8mb4']
volumes:
- databasevolume:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:6.0.0
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
depends_on:
- mysql
volumes:
logvolume01: {}
sitevolume: {}
databasevolume: {}
OpenEMR Version
I’m using OpenEMR 6.0.0
Browser:
Firefox 89.0 (64-bit)
Operating System
Windows 10
Logs
I haven’t checked any logs as I’m unsure where they reside.
Thanks