From e1b1d16b66e865aa78b3a49704aa99d330c34657 Mon Sep 17 00:00:00 2001 From: Alfred Date: Mon, 25 Feb 2019 20:37:53 +0500 Subject: [PATCH] #654. Need to setup ports not domain names for PWD to work. --- .env.dist | 8 ++++---- pwd-compose.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.env.dist b/.env.dist index 1b073d24b..87ab983f9 100644 --- a/.env.dist +++ b/.env.dist @@ -22,10 +22,10 @@ TEST_DB_PASSWORD = root # Urls # ---- -API_HOST_INFO = http://api.yii2-starter-kit.localhost -FRONTEND_HOST_INFO = http://yii2-starter-kit.localhost -BACKEND_HOST_INFO = http://backend.yii2-starter-kit.localhost -STORAGE_HOST_INFO = http://storage.yii2-starter-kit.localhost +API_HOST_INFO = localhost:8080 +FRONTEND_HOST_INFO = localhost:8081 +BACKEND_HOST_INFO = localhost:8082 +STORAGE_HOST_INFO = localhost:8083 # Single domain example # ---- diff --git a/pwd-compose.yml b/pwd-compose.yml index 5409d1a0c..e88796a30 100644 --- a/pwd-compose.yml +++ b/pwd-compose.yml @@ -23,10 +23,10 @@ services: - TEST_DB_DSN = mysql:host=db;port=3306;dbname=yii2-starter-kit-test - TEST_DB_USERNAME = root - TEST_DB_PASSWORD = root - - API_HOST_INFO = http://api.yii2-starter-kit.localhost - - FRONTEND_HOST_INFO = http://yii2-starter-kit.localhost - - BACKEND_HOST_INFO = http://backend.yii2-starter-kit.localhost - - STORAGE_HOST_INFO = http://storage.yii2-starter-kit.localhost + - API_HOST_INFO = localhost:8080 + - FRONTEND_HOST_INFO = localhost:8081 + - BACKEND_HOST_INFO = localhost:8082 + - STORAGE_HOST_INFO = localhost:8083 - SMTP_HOST = mailcatcher - SMTP_PORT = 1025 - FRONTEND_COOKIE_VALIDATION_KEY = xVLgMMktRpRa3xS-jeTITuqnqILulB_W