Commit d550eaa7 authored by Guillaume Mella's avatar Guillaume Mella

add sql password and use 5433 instead of 5432 default port for devs using docker

parent 98f3b756
......@@ -26,7 +26,7 @@ services:
context: jmdc-postgres
image: jmdc-postgres:${IMAGE_TAG}
ports:
- "5432:5432"
- "5433:5432"
volumes:
# /var/lib/postgresql/${PG_VERSION}/ simplified because PG_VERSION is not defined at this stage
- jmdc-postgres-data:/var/lib/postgresql/data/jmdc_pgdata/
......
......@@ -4,6 +4,7 @@ FROM postgres:11
ENV POSTGRES_USER jmdc
ENV POSTGRES_DB jmdc
ENV POSTGRES_PASSWORD jmdc
ENV PGDATA /var/lib/postgresql/data/jmdc_pgdata
......
......@@ -14,7 +14,7 @@ pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes = pyramid_debugtoolbar
sqlalchemy.url = postgresql://jmdc@db:5432/jmdc
sqlalchemy.url = postgresql://jmdc:jmdc@db:5433/jmdc
retry.attempts = 3
......@@ -28,6 +28,7 @@ data_ingest.async = True
# secret for the session manager
session.secret = uwlv4WMLuHdneZDzeUK6rmznMugQNgrW4AmyaXr5ctsVmmo0fEJGuxsPjEvV66dk
#jinja2.newline_sequence = "\r\n"
[pshell]
setup = jmdc_app.pshell.setup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment