Browse Source

update

main
xiaoz 2 years ago
parent
commit
416d1c20ee
  1. 6
      docker-compose.yaml

6
docker-compose.yaml

@ -2,12 +2,18 @@ version: '3'
services: services:
imgurl: imgurl:
image: helloz/imgurl image: helloz/imgurl
nmame: imgurl
volumes: volumes:
- ./imgurl:/data/wwwroot/default - ./imgurl:/data/wwwroot/default
ports:
- "880:80"
restart: restart:
always always
mysql57: mysql57:
image: mysql:5.7 image: mysql:5.7
nmame: mysql57
ports:
- "13306:3306"
volumes: volumes:
- ./mysql/my.cnf:/etc/mysql/my.cnf - ./mysql/my.cnf:/etc/mysql/my.cnf
- ./mysql/data:/var/lib/mysql - ./mysql/data:/var/lib/mysql

Loading…
Cancel
Save