File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1- .env
2-
3- # Ignore mysql data
4- /docker /mysql /data /**
1+ /.env
52
63# Editor directories and files
74.idea
Original file line number Diff line number Diff line change 3434 cp .env_example .env; \
3535 fi
3636
37+ @if [ -f ./LICENSE ]; then \
38+ rm ./LICENSE \
39+ fi
40+
41+ # @if [ -f ./.git ]; then \
42+ # rm -rf ./.git; \
43+ # fi
44+
3745# make install project
3846install : add-host build up
3947 @${DOCKER} exec -it " ${DOCKER_PREFIX} -backend" composer install;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ services:
5151 - MYSQL_USER=${MYSQL_USER}
5252 - MYSQL_PASSWORD=${MYSQL_PASSWORD}
5353 volumes :
54- - ./docker/mysql/data :/var/lib/mysql
54+ - dbdata :/var/lib/mysql
5555 - ./logs/mysql/:/var/log/mysql
5656 - ./docker/mysql/conf.d:/etc/mysql/conf.d
5757 ports :
@@ -83,4 +83,8 @@ services:
8383
8484networks :
8585 backend-network :
86- driver : bridge
86+ driver : bridge
87+
88+ volumes :
89+ dbdata :
90+ driver : local
You can’t perform that action at this time.
0 commit comments