From 7c3761d58a3a3fc7dc067fa30cfe2179247c75ef Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Wed, 23 Jan 2019 15:21:46 +0100 Subject: [PATCH] Fix the Docker build --- composer.lock | 6 ------ docker-compose.yml | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/composer.lock b/composer.lock index c27ef1dee7..17915eecf3 100644 --- a/composer.lock +++ b/composer.lock @@ -2764,12 +2764,6 @@ "url": "https://github.com/thephpleague/uri.git", "reference": "f2bceb755f1108758cf4cf925e4cd7699ce686aa" }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri/zipball/f2bceb755f1108758cf4cf925e4cd7699ce686aa", - "reference": "f2bceb755f1108758cf4cf925e4cd7699ce686aa", - "shasum": "" - }, "require": { "ext-fileinfo": "*", "ext-intl": "*", diff --git a/docker-compose.yml b/docker-compose.yml index 61240c0a30..58369b4766 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: - APP_ENV=dev - APP_DEBUG=1 - APP_SECRET=EDITME - - DATABASE_URL=mysql://sylius:nopassword@mysql/sylius_%kernel.environment% + - DATABASE_URL=mysql://sylius:nopassword@mysql/sylius - MAILER_URL=smtp://localhost - PHP_DATE_TIMEZONE=${PHP_DATE_TIMEZONE:-UTC} volumes: @@ -32,7 +32,7 @@ services: image: percona:5.7 environment: - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-nopassword} - - MYSQL_DATABASE=sylius_${APP_ENV-dev} + - MYSQL_DATABASE=sylius - MYSQL_USER=sylius - MYSQL_PASSWORD=${MYSQL_PASSWORD:-nopassword} volumes: