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

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
user: "${USER_ID}:${GROUP_ID}"
1 year ago
volumes:
- './data:/var/lib/mysql'
- './my.cnf:/etc/mysql/my.cnf'