|
|
|
@ -40,16 +40,16 @@ jobs: |
|
|
|
docker: |
|
|
|
- image: "circleci/node:12" # the primary container, where your job's commands are run |
|
|
|
environement: |
|
|
|
DATABASE_URL: postgres://pdarcas:pdarcas@localhost:5432/circleci_tp |
|
|
|
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb |
|
|
|
JWT_SECRET: answer is 42 |
|
|
|
API_PORT: 3000 |
|
|
|
API_HOST: localhost |
|
|
|
API_PROTOCOL: http |
|
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
|
environment: |
|
|
|
POSTGRES_USER: pdarcas |
|
|
|
POSTGRES_DB: circleci_tp |
|
|
|
POSTGRES_PASSWORD: pdarcas |
|
|
|
POSTGRES_USER: psqluer |
|
|
|
POSTGRES_DB: psdb |
|
|
|
POSTGRES_PASSWORD: psqlpassword |
|
|
|
steps: |
|
|
|
- checkout # check out the code in the project directory |
|
|
|
- restore_cache: |
|
|
|
|