Skip to content

Commit b7aebe6

Browse files
authored
Merge pull request #2301 from 2opremio/fix-compose-pg-pwd
services/horizon: Fix docker-compose Postgres' auth
2 parents e18dcd2 + a64b258 commit b7aebe6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

services/horizon/docker/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
core-postgres:
4-
image: postgres:9.6-alpine
4+
image: postgres:9.6.17-alpine
55
restart: on-failure
66
environment:
77
- POSTGRES_PASSWORD=mysecretpassword
@@ -30,9 +30,10 @@ services:
3030
network_mode: '${NETWORK_MODE:-bridge}'
3131

3232
horizon-postgres:
33-
image: postgres:9.6-alpine
33+
image: postgres:9.6.17-alpine
3434
restart: on-failure
3535
environment:
36+
- POSTGRES_HOST_AUTH_METHOD=trust
3637
- POSTGRES_DB=horizon
3738
ports:
3839
- "5432:5432"

0 commit comments

Comments
 (0)