version: '3.1'
services:
easyapointments:
image: 'alextselegidis/easyappointments:1.5.0'
environment:
- DEBUG_MODE=TRUE
- DB_HOST=mysql
- DB_NAME=easyappointments
- DB_USERNAME=root
- DB_PASSWORD=secret
ports:
- '80:80'
mysql:
image: 'mysql:8.0'
volumes:
- './docker/mysql:/var/lib/mysql'
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=easyappointments