Skip to content

Commit

Permalink
CI: Fix postgres configuration on Drone
Browse files Browse the repository at this point in the history
It now requires password, otherwise it fails to start.

See docker-library/postgres#681
  • Loading branch information
nijel committed Feb 17, 2020
1 parent 18be5ac commit aa48ca9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ database_service = {
"name": "database",
"image": "postgres:11-alpine",
"ports": [5432],
"environment": {"POSTGRES_USER": "postgres", "POSTGRES_DB": "weblate"},
"environment": {
"POSTGRES_USER": "postgres",
"POSTGRES_DB": "weblate",
"POSTGRES_HOST_AUTH_METHOD": "trust",
},
}

# Pipeline template
Expand Down

0 comments on commit aa48ca9

Please sign in to comment.