Browse Source

Update config.yml

main
ndrg13 6 years ago
committed by GitHub
parent
commit
2071312a9e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .circleci/config.yml

9
.circleci/config.yml

@ -12,16 +12,19 @@ executors:
auth: auth:
username: $DOCKERHUB_LOGIN username: $DOCKERHUB_LOGIN
password: $DOCKERHUB_PASSWORD password: $DOCKERHUB_PASSWORD
- image: circleci/postgres
- image: circleci/postgres:9.6.2-alpine
auth: auth:
username: $DOCKERHUB_LOGIN username: $DOCKERHUB_LOGIN
password: $DOCKERHUB_PASSWORD password: $DOCKERHUB_PASSWORD
environment: environment:
DATABASE_URL: "postgres://root@localhost:5432/psdb"
JWT_SECRET:
DATABASE_URL: "postgres://psqluser@localhost:5432/psdb"
JWT_SECRET: string
API_PORT: 3000 API_PORT: 3000
API_HOST: localhost API_HOST: localhost
API_PROTOCOL: http API_PROTOCOL: http
POSTGRES_USER: psqluser
POSTGRES_PASSWORD: password
POSTGRES_DB: psdb
jobs: jobs:
build: build:
executor: node-executor executor: node-executor

Loading…
Cancel
Save