Skip to content

Instantly share code, notes, and snippets.

View ngt2012soft's full-sized avatar

ANGT Soft ngt2012soft

View GitHub Profile
@ngt2012soft
ngt2012soft / docker-compose.yml
Created October 3, 2022 14:40 — forked from sheikhwaqas/docker-compose.yml
Docker Compose configuration to run MySQL 5.6 and MySQL 5.7 on one instance. Create /var/lib/mysql56-data & /var/lib/mysql57-data with root as the owner of these directories before running docker-compose up -d
version: '3'
services:
mysql56:
image: mysql:5.6
restart: unless-stopped
container_name: mysql56-container
ports:
- "127.0.0.1:3356:3306"
environment:
MYSQL_ROOT_PASSWORD: rootPassword