Compare commits
No commits in common. "39050124a84b72574d2256a5fbd433d5068d9146" and "8f99dbfcc305c97e77eca85408735492996f2f4b" have entirely different histories.
39050124a8
...
8f99dbfcc3
|
@ -1,7 +1,6 @@
|
|||
version: '3'
|
||||
services:
|
||||
server:
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
@ -15,12 +14,10 @@ services:
|
|||
networks:
|
||||
- homepage
|
||||
redis:
|
||||
restart: always
|
||||
image: redis:alpine
|
||||
networks:
|
||||
- homepage
|
||||
db:
|
||||
restart: always
|
||||
image: postgres:alpine
|
||||
environment:
|
||||
POSTGRES_PASSWORD: '${DB_PASSWORD}'
|
||||
|
|
16
install
16
install
|
@ -1,28 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
PACKAGES="sequelize-cli"
|
||||
DEV_PGKS="gulp-cli gulper gulp mocha"
|
||||
PACKAGES="gulp-cli gulper gulp mocha sequelize-cli"
|
||||
|
||||
if [[ $APP_DEBUG == 'true' ]]; then
|
||||
yarn install
|
||||
npm i
|
||||
|
||||
cd scripts
|
||||
yarn install
|
||||
npm i
|
||||
cd ..
|
||||
else
|
||||
yarn install --prod
|
||||
npm i --prod
|
||||
|
||||
cd scripts
|
||||
yarn install --prod
|
||||
npm i --prod
|
||||
cd ..
|
||||
|
||||
fi
|
||||
|
||||
echo -e "Installing \033[32m$PACKAGES\033[0m"
|
||||
if [[ APP_DEBUG == 'true' ]]; thenS
|
||||
echo -e "Installing \033[32m$DEV_PGKS\033[0m"
|
||||
if [[ APP_DEBUG == 'true' ]]; then
|
||||
npm i -g $PACKAGES
|
||||
npm i -g $DEV_PGKS
|
||||
else
|
||||
npm i -g --prod $PACKAGES
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue