From ff031ac7ea7f8681bad21809cd89769a54d4f0f8 Mon Sep 17 00:00:00 2001 From: Alfred Date: Mon, 25 Feb 2019 21:10:03 +0500 Subject: [PATCH] #654. Update pwd config. --- pwd-compose.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pwd-compose.yml b/pwd-compose.yml index 5409d1a0c..7f6e4a29a 100644 --- a/pwd-compose.yml +++ b/pwd-compose.yml @@ -6,6 +6,18 @@ volumes: nginx_config: {} services: + source: + image: containerize/git + environment: + - REPO_LOCAL=/data/git/repos/yii2-starter-kit + - REPO_BRANCH=pwd_rework + - REPO_REMOTE=https://github.com/alfredleo/yii2-starter-kit.git + tty: true + volumes: + - starter_kit_app:/data/git/repos/yii2-starter-kit + - mysql_config:/data/git/repos/yii2-starter-kit/docker/mysql + - nginx_config:/data/git/repos/yii2-starter-kit/docker/nginx + app: image: alfredleo/starter_kit_app:secondtry volumes: @@ -76,16 +88,4 @@ services: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: yii2-starter-kit MYSQL_USER: ysk_dbu - MYSQL_PASSWORD: ysk_pass - - source: - image: containerize/git - environment: - - REPO_LOCAL=/data/git/repos/yii2-starter-kit - - REPO_BRANCH=pwd_rework - - REPO_REMOTE=https://github.com/alfredleo/yii2-starter-kit.git - tty: true - volumes: - - starter_kit_app:/data/git/repos/yii2-starter-kit - - mysql_config:/data/git/repos/yii2-starter-kit/docker/mysql - - nginx_config:/data/git/repos/yii2-starter-kit/docker/nginx \ No newline at end of file + MYSQL_PASSWORD: ysk_pass \ No newline at end of file