Dockerizing #10

Merged
PootisPenserHere merged 9 commits from dockerizing into master 2018-08-08 07:46:39 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit f2237d9209 - Show all commits

View File

@ -26,7 +26,7 @@ return [
// Datanase settings // Datanase settings
'mysql' => [ 'mysql' => [
'host' => 'localhost', 'host' => 'mysql',
'database' => 'payroll', 'database' => 'payroll',
'user' => 'root', 'user' => 'root',
'password' => '12345678', 'password' => '12345678',

View File

@ -12,9 +12,9 @@ services:
mysql: mysql:
container_name: payroll_mysql container_name: payroll_mysql
restart: always restart: always
image: mysql:8.0.12 image: mysql:5.7
ports: ports:
- "3307:3306" - "3306:3306"
environment: environment:
MYSQL_ROOT_PASSWORD: '12345678' MYSQL_ROOT_PASSWORD: '12345678'
MYSQL_USER: 'sloth' MYSQL_USER: 'sloth'