|
|
@ -11,6 +11,7 @@ workflows: |
|
|
requires: |
|
|
requires: |
|
|
- build |
|
|
- build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
build: |
|
|
docker: |
|
|
docker: |
|
|
@ -43,16 +44,16 @@ jobs: |
|
|
database: |
|
|
database: |
|
|
docker: |
|
|
docker: |
|
|
- image: "circleci/node:12" |
|
|
- image: "circleci/node:12" |
|
|
environment: |
|
|
|
|
|
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb |
|
|
|
|
|
JWT_SECRET: passedb |
|
|
|
|
|
API_PORT: 3000 |
|
|
|
|
|
API_HOST: localhost |
|
|
|
|
|
API_PROTOCOL: http |
|
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb |
|
|
|
|
|
JWT_SECRET: passedb |
|
|
|
|
|
API_PORT: 3000 |
|
|
|
|
|
API_HOST: localhost |
|
|
|
|
|
API_PROTOCOL: http |
|
|
- image: "circleci/postgres:9.6.2-alpine" |
|
|
- image: "circleci/postgres:9.6.2-alpine" |
|
|
environment: |
|
|
|
|
|
POSTGRES_USER: psqluer |
|
|
|
|
|
POSTGRES_PASSWORD: psqlpassword |
|
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
POSTGRES_USER: psqluer |
|
|
|
|
|
POSTGRES_PASSWORD: psqlpassword |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
|