Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Upgrade to Postgres v12 (#1288)
* Upgrade to Postgres v12

* Change docker image for database to 12-apline

* Update database config
  • Loading branch information
Eric Berry committed May 18, 2020
1 parent 652aa09 commit 0ed14b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Expand Up @@ -6,7 +6,7 @@ jobs:
environment:
CAMPAIGN_DEMO_ID: "395"
PG_HOST: localhost
PG_USERNAME: ubuntu
PG_USERNAME: postgres
RAILS_ENV: test
NODE_ENV: test
RACK_ENV: test
Expand All @@ -15,9 +15,10 @@ jobs:
REDIS_CACHE_URL: redis://127.0.0.1:6379
REDIS_QUEUE_URL: redis://127.0.0.1:6379
WORDPRESS_URL: 'https://codefund.io'
- image: circleci/postgres:11.2
- image: circleci/postgres:12.2
environment:
POSTGRES_USER: ubuntu
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: code_fund_ads_test
- image: circleci/redis:5.0.4
working_directory: ~/repo
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Expand Up @@ -7,7 +7,7 @@ services:
dockerfile: ./.docker/Dockerfile
args:
RUBY_VERSION: '2.6.6'
PG_MAJOR: '11'
PG_MAJOR: '12'
NODE_MAJOR: '13'
YARN_VERSION: '1.22.4'
BUNDLER_VERSION: '2.1.4'
Expand Down Expand Up @@ -62,7 +62,7 @@ services:
command: ./bin/docker/start_sidekiq

postgres:
image: postgres:11.1
image: postgres:12.2
volumes:
- .psqlrc:/root/.psqlrc:ro
- postgres:/var/lib/postgresql/data
Expand Down

0 comments on commit 0ed14b8

Please sign in to comment.