mirror of
https://github.com/jimeh/Dockerfiles.git
synced 2026-02-19 07:56:41 +00:00
Initial commit
This commit is contained in:
16
mysql/docker-compose.yml
Normal file
16
mysql/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: "2"
|
||||
services:
|
||||
mysql:
|
||||
image: mysql
|
||||
container_name: mysql
|
||||
restart: always
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- "127.0.0.1:3306:3306"
|
||||
volumes:
|
||||
- data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
data:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user