diff --git a/docker/conf/web.yml b/docker/conf/web.yml
--- a/docker/conf/web.yml
+++ b/docker/conf/web.yml
@@ -31,11 +31,7 @@
 development_db: /tmp/swh/web.sqlite3
 
 production_db:
-  host: swh-web-db
-  port: 5432
-  name: swh-web
-  user: postgres
-  password: testpassword
+  name: postgresql:///?service=swh-web
 
 throttling:
   cache_uri: 127.0.0.1:11211