diff --git a/docker-compose.yml b/docker-compose.yml index a957959..940bee2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/tox.ini b/tox.ini index eb810b8..c8a382e 100644 --- a/tox.ini +++ b/tox.ini @@ -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