add postgres image to circleci config

This commit is contained in:
sorrelbri 2020-02-07 18:35:43 -08:00
parent 8b1ef3dbff
commit b044bb57d2

View file

@ -19,16 +19,17 @@ jobs:
docker: docker:
# specify the version you desire here # specify the version you desire here
- image: circleci/node:12.6 - image: circleci/node:12.6
environment:
DATABASE_URL: postgresql://root@localhost/circle_test
# Specify service dependencies here if necessary # Service container image
# CircleCI maintains a library of pre-built images - image: circleci/postgres:9.6.5-alpine-ram
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/node-go working_directory: ~/node-go
steps: steps:
- checkout - checkout
- run: sudo apt-get install postgresql-client-9.6
# Download and cache dependencies # Download and cache dependencies
- restore_cache: - restore_cache: