Skip to content

Commit

Permalink
Specify POSTGRES_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
vmalloc committed May 8, 2020
1 parent 4c0d8b0 commit 56cf26d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## Version 2.17.3

**NOTE**: the default `BACKSLASH_DATABASE_URI` has been changed in this release (in
`docker-compose.yml`). When upgrading an existing instance, make sure to leave the
`BACKSLASH_DATABASE_URI` in your docker-compose file as it were before the upgrade, or otherwise
the backend will lose ability to connect to the database.

* Fix Travis deployment


## Version 2.17.2

Expand Down
5 changes: 3 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
environment: &python-backend-env
- CONFIG_DIRECTORY=/conf
- BACKSLASH_REDIS_SERVER=redis
- BACKSLASH_DATABASE_URI=postgresql://backslash@db/backslash
- BACKSLASH_DATABASE_URI=postgresql://backslash:backslash@db/backslash
- BACKSLASH_TRACEBACKS_PATH=/uploads/tracebacks
- BACKSLASH_CELERY_BROKER_URL=amqp://guest:guest@rabbitmq
- METRICS_URL=http://api-server:8000/
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
environment:
- CONFIG_DIRECTORY=/conf
- BACKSLASH_REDIS_SERVER=redis
- BACKSLASH_DATABASE_URI=postgresql://backslash@db/backslash
- BACKSLASH_DATABASE_URI=postgresql://backslash:backslash@db/backslash
- BACKSLASH_TRACEBACKS_PATH=/uploads/tracebacks
- BACKSLASH_CELERY_BROKER_URL=amqp://guest:guest@rabbitmq
volumes:
Expand All @@ -75,6 +75,7 @@ services:
environment:
- POSTGRES_USER=backslash
- POSTGRES_DB=backslash
- POSTGRES_PASSWORD=backslash
volumes:
- "db:/var/lib/postgresql/data"
logging:
Expand Down

0 comments on commit 56cf26d

Please sign in to comment.