|
|
@ -6,14 +6,14 @@ workflows: |
|
|
jobs: |
|
|
jobs: |
|
|
database1: |
|
|
database1: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:12 |
|
|
|
|
|
|
|
|
- image: 'cimg/node:12' |
|
|
environment: |
|
|
environment: |
|
|
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb |
|
|
|
|
|
|
|
|
DATABASE_URL: 'postgres://psqluer:psqlpassword@localhost:5432/psdb' |
|
|
JWT_SECRET: some string yo want |
|
|
JWT_SECRET: some string yo want |
|
|
API_PORT: 3000 |
|
|
API_PORT: 3000 |
|
|
API_HOST: localhost |
|
|
API_HOST: localhost |
|
|
API_PROTOCOL: http |
|
|
API_PROTOCOL: http |
|
|
- image: circleci/postgres |
|
|
|
|
|
|
|
|
- image: 'circleci/postgres' |
|
|
environment: |
|
|
environment: |
|
|
POSTGRES_USER: psqluer |
|
|
POSTGRES_USER: psqluer |
|
|
POSTGRES_PASSWORD: psqlpassword |
|
|
POSTGRES_PASSWORD: psqlpassword |
|
|
|