Compare commits

..

No commits in common. "39050124a84b72574d2256a5fbd433d5068d9146" and "8f99dbfcc305c97e77eca85408735492996f2f4b" have entirely different histories.

2 changed files with 6 additions and 13 deletions

View File

@ -1,7 +1,6 @@
version: '3' version: '3'
services: services:
server: server:
restart: always
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
@ -15,12 +14,10 @@ services:
networks: networks:
- homepage - homepage
redis: redis:
restart: always
image: redis:alpine image: redis:alpine
networks: networks:
- homepage - homepage
db: db:
restart: always
image: postgres:alpine image: postgres:alpine
environment: environment:
POSTGRES_PASSWORD: '${DB_PASSWORD}' POSTGRES_PASSWORD: '${DB_PASSWORD}'

16
install
View File

@ -1,28 +1,24 @@
#!/bin/bash #!/bin/bash
PACKAGES="sequelize-cli" PACKAGES="gulp-cli gulper gulp mocha sequelize-cli"
DEV_PGKS="gulp-cli gulper gulp mocha"
if [[ $APP_DEBUG == 'true' ]]; then if [[ $APP_DEBUG == 'true' ]]; then
yarn install npm i
cd scripts cd scripts
yarn install npm i
cd .. cd ..
else else
yarn install --prod npm i --prod
cd scripts cd scripts
yarn install --prod npm i --prod
cd .. cd ..
fi fi
echo -e "Installing \033[32m$PACKAGES\033[0m" echo -e "Installing \033[32m$PACKAGES\033[0m"
if [[ APP_DEBUG == 'true' ]]; thenS if [[ APP_DEBUG == 'true' ]]; then
echo -e "Installing \033[32m$DEV_PGKS\033[0m"
npm i -g $PACKAGES npm i -g $PACKAGES
npm i -g $DEV_PGKS
else else
npm i -g --prod $PACKAGES npm i -g --prod $PACKAGES
fi fi