This commit is contained in:
yedongfu 2021-05-23 10:16:02 +08:00
parent fd37ece699
commit 6047f87911

View File

@ -1,12 +1,14 @@
version: '1.25' version: '3.3'
services: services:
web: # web:
build: . # build: .
ports: # ports:
- '80:4005' # - '80:4005'
volumes: # volumes:
- .:/app/dtm # - .:/app/dtm
mysql: mysql:
image: 'daocloud.io/mysql:5.7' image: 'daocloud.io/mysql:5.7'
environment:
MYSQL_ROOT_PASSWORD: my-secret-pw
ports: ports:
- '3306:3306' - '3306:3306'