This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-NodeJSBlog
mirror of
https://github.com/jrtechs/NodeJSBlog.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Created docker script to run mysql db for local development.
dockerScript
jrtechs
5 years ago
parent
1b2faeee5e
commit
95ab5dad53
1 changed files
with
16 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-0
docker-compose.yml
+ 16
- 0
docker-compose.yml
View File
@ -0,0 +1,16 @@
version
:
'3'
# mysql --port=3306 --host=127.0.0.1 -u root --password=password
services:
db:
image
:
mysql
command
:
--
default-authentication-plugin=mysql_native_password
restart
:
always
environment:
MYSQL_ROOT_PASSWORD
:
password
ports:
-
"3306:3306"
volumes:
-
"./db:/var/lib/mysql"
Write
Preview
Loading…
Cancel
Save