Skip to content

Commit

Permalink
[PP-1832] Require SSL when talking to postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Oct 21, 2024
1 parent a40757f commit 7f3c5bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ services:
ports:
- "80:80"
environment:
- SIMPLIFIED_TEST_DATABASE=postgresql://simplified_test:simplified_test@libreg_local_db:5433/simplified_registry_test
- SIMPLIFIED_PRODUCTION_DATABASE=postgresql://simplified:simplified@libreg_local_db:5433/simplified_registry_dev
- SIMPLIFIED_TEST_DATABASE=postgresql://simplified_test:simplified_test@libreg_local_db:5433/simplified_registry_test?sslmode=require
- SIMPLIFIED_PRODUCTION_DATABASE=postgresql://simplified:simplified@libreg_local_db:5433/simplified_registry_dev?sslmode=require
- FLASK_ENV=development
- AWS_ACCESS_KEY_ID=TEST
- AWS_SECRET_ACCESS_KEY=testpassword
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ passenv =
SIMPLIFIED_*
CI
setenv =
docker: SIMPLIFIED_TEST_DATABASE=postgresql://simplified_test:test@localhost:9015/simplified_registry_test
docker: SIMPLIFIED_TEST_DATABASE=postgresql://simplified_test:test@localhost:9015/simplified_registry_test?sslmode=require
docker: AWS_ACCESS_KEY_ID=TEST
docker: AWS_SECRET_ACCESS_KEY=testpassword
docker: SIMPLIFIED_AWS_S3_ENDPOINT_URL=http://localhost:9004
Expand Down

0 comments on commit 7f3c5bc

Please sign in to comment.