Changed docker data volume to project specific name

This commit is contained in:
Torsten 2022-04-09 10:00:04 +02:00
parent 2f29555240
commit 5ae3ac82e1
6 changed files with 515 additions and 3 deletions

View file

@ -1,6 +1,6 @@
APP_NAME="Hoschis Tippspiel"
APP_ENV=local
APP_KEY=base64:dfy2mOUn+iJB57CxYbG/Oukhozcd4oNput/8Ofq8gMQ=
APP_KEY=base64:skYbYLqiGeOCTWD7J9xHzAKgmwuTkknm9BLGinIgn88=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

View file

@ -27,7 +27,7 @@ services:
SERVICE_TAGS: dev
SERVICE_NAME: mysql
volumes:
- dbdata:/var/lib/mysql
- dbdata_pfosten:/var/lib/mysql
- ./docker-compose/mysql/my.cnf:/etc/mysql/my.cnf
- ./docker-compose/mysql/init:/docker-entrypoint-initdb.d
ports:
@ -53,6 +53,6 @@ networks:
driver: bridge
volumes:
dbdata:
dbdata_pfosten:
driver: local