diff options
-rw-r--r-- | docker-compose.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 7b66318fc..c1c4e5ac7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,14 +3,16 @@ services: db: restart: always - image: postgres:9.6-alpine + image: postgres:14-alpine shm_size: 256mb networks: - internal_network healthcheck: test: ["CMD", "pg_isready", "-U", "postgres"] volumes: - - ./postgres:/var/lib/postgresql/data + - ./postgres14:/var/lib/postgresql/data + environment: + - "POSTGRES_HOST_AUTH_METHOD=trust" redis: restart: always |