Browse Source

adding databas

pull/2/head
Neel Coffin 6 years ago
parent
commit
75da7aacdc
  1. 14
      .circleci/config.yml

14
.circleci/config.yml

@ -44,6 +44,20 @@ jobs:
key: yarn-packages-v2{{ checksum "yarn.lock" }}
paths:
- ./node_modules
database:
docker:
- image: circleci/node:12
environment:
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb
JWT_SECRET: some string yo want
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
- image: circleci/postgres:9.6.2-alpine
environment:
POSTGRES_USER: psqluser
POSTGRES_PASSWORD: psqlpassword
POSTGRES_DB: psdb
workflows:
build_and_test:

Loading…
Cancel
Save