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.
 
 
 

12 lines
262 B

version: '3.3'
services:
mysql:
image: mysql:8.2
container_name: mysql8
env_file: .env
restart: always
network_mode: host
user: "${USER_ID}:${GROUP_ID}"
volumes:
- './data:/var/lib/mysql'
- './my.cnf:/etc/mysql/my.cnf'