Skip to content

Commit

Permalink
Altera versão do Postgresql pra conseguir usar o pg_dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardofl authored and hpe95 committed Jul 2, 2018
1 parent 1c05224 commit b1a47b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
FROM radarparlamentar/base:1.0.2

COPY radar_parlamentar/requirements.txt /tmp/requirements.txt
# git é uma dependência do projeto, utilizamos no código para pegar a versão
# corrente do projeto pelo commit.
# postgresql-dev é necessário para instalar a lib que vai fazer a conexão com
# o postgres.
# musl-dev é usada apenas apra compilação da lib python psycopg2.
RUN set -ex \
&& pip install -U pip setuptools wheel \
&& pip install -r /tmp/requirements.txt \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
- volume_radar_elasticsearch_data:/usr/share/elasticsearch/data

postgres:
image: postgres:10.2-alpine
image: postgres:9.5.12-alpine
environment:
- POSTGRES_USER=radar
- POSTGRES_PASSWORD=${RADAR_DB_PASSWORD:-radar}
Expand Down

0 comments on commit b1a47b4

Please sign in to comment.