mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 12:02:56 +03:00
e0cdb4c048
Fixing connection issues to MySQL 8.0.4.
28 lines
606 B
YAML
28 lines
606 B
YAML
version: '2'
|
|
services:
|
|
database:
|
|
image: mysql
|
|
command: mysqld --default-authentication-plugin=mysql_native_password
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=veryhardpassword
|
|
- MYSQL_DATABASE=easyapp
|
|
- MYSQL_USER=easyapp
|
|
- MYSQL_PASSWORD=veryhardpassword
|
|
|
|
application:
|
|
image: easyappointments
|
|
build:
|
|
context: .
|
|
volumes:
|
|
- ./src:/var/www/html
|
|
command: dev
|
|
ports:
|
|
- ${APP_HOST}:80:80
|
|
environment:
|
|
- DB_HOST=database:3306
|
|
- APP_URL=localhost
|
|
depends_on:
|
|
- database
|
|
env_file:
|
|
- .env
|
|
restart: always
|