Skip to content

Commit

Permalink
yii-starter-kit#654. Config rework.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredleo committed Feb 27, 2019
1 parent ff031ac commit 3fd4a0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

composer install && console/yii app/setup --interactive=0
4 changes: 4 additions & 0 deletions pwd-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ services:
- 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
command:
- cp .env.dist .env

app:
image: alfredleo/starter_kit_app:secondtry
volumes:
- starter_kit_app:/app
command:
- ./install.sh
environment:
- YII_DEBUG = true
- YII_ENV = dev
Expand Down

0 comments on commit 3fd4a0c

Please sign in to comment.