Docker + nginx + MySQL + PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
227 B

1 year ago
version: '3.3'
services:
mysql:
image: mysql:8.2
1 year ago
container_name: mysql8
env_file: .env
restart: always
network_mode: host
volumes:
- './data:/var/lib/mysql'
- './my.cnf:/etc/mysql/my.cnf'