forked from aslan/applicant-site
22 lines
641 B
YAML
22 lines
641 B
YAML
version: '3'
|
|
|
|
services:
|
|
# MySQL
|
|
db:
|
|
container_name: mysql8
|
|
image: mysql:8.0
|
|
command: mysqld --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
MYSQL_DATABASE: laravel
|
|
# MYSQL_USER: laravel
|
|
# MYSQL_PASSWORD: laravellaravel
|
|
# MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
|
ports:
|
|
- '3306:3306'
|
|
volumes:
|
|
- './docker/db/data:/var/lib/mysql'
|
|
- './docker/db/my.cnf:/etc/mysql/conf.d/my.cnf'
|
|
- './docker/db/sql:/docker-entrypoint-initdb.d'
|
|
- './docker/tabit:/home'
|