mysql laravel
This commit is contained in:
parent
9408ec8211
commit
5658821d06
1 changed files with 12 additions and 0 deletions
|
@ -51,3 +51,15 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/gitlab/other/runner:/etc/gitlab-runner
|
- /srv/gitlab/other/runner:/etc/gitlab-runner
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
|
mysql-laravel:
|
||||||
|
image: mysql:5.7
|
||||||
|
container_name: mysql
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: root
|
||||||
|
MYSQL_DATABASE: laravel
|
||||||
|
MYSQL_USER: laravel
|
||||||
|
MYSQL_PASSWORD: laravel
|
Reference in a new issue