Skip to content

Commit

Permalink
Postgres Update
Browse files Browse the repository at this point in the history
Fix a bug with password of the Postgres Instance

Upgrades the postgres image from 9.5 to 9.6
  • Loading branch information
Raul Hidalgo Caballero committed Nov 2, 2016
1 parent 9de1f46 commit 8e5db8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/docker/my_init.d/50_configure
Expand Up @@ -35,7 +35,7 @@ write_config () {

link_postgres_url () {
local user=$DB_ENV_POSTGRES_USER
local pass=$DB_ENV_POSTGRES_PASS
local pass=$DB_ENV_POSTGRES_PASSWORD
local db=$DB_ENV_POSTGRES_DB
local host=$DB_PORT_5432_TCP_ADDR
local port=$DB_PORT_5432_TCP_PORT
Expand Down
4 changes: 2 additions & 2 deletions contrib/docker/postgresql/Dockerfile
@@ -1,7 +1,7 @@
FROM postgres:9.5
FROM postgres:9.6
MAINTAINER Open Knowledge

# Customize default user/pass/db
ENV POSTGRES_USER ckan
ENV POSTGRES_PASS ckan
ENV POSTGRES_PASSWORD ckan
ENV POSTGRES_DB ckan

0 comments on commit 8e5db8f

Please sign in to comment.