add
This commit is contained in:
31
docker-compose.yml
Executable file
31
docker-compose.yml
Executable file
@ -0,0 +1,31 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql
|
||||
restart: always
|
||||
ports:
|
||||
- 3306:3306
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
|
||||
# node:
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile
|
||||
# restart: always
|
||||
# ports:
|
||||
# - 8080:8080
|
||||
# volumes:
|
||||
# - ./:/usr/src/app
|
||||
|
||||
# phpmyadmin:
|
||||
# image: phpmyadmin
|
||||
# restart: always
|
||||
# ports:
|
||||
# - 2000:80
|
||||
# environment:
|
||||
# - PMA_ARBITRARY=1
|
||||
Reference in New Issue
Block a user