about summary refs log tree commit diff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorShlee <github@shl.ee>2021-11-19 08:00:27 +1100
committerGitHub <noreply@github.com>2021-11-18 22:00:27 +0100
commitac8ad78e91facb32c1efbaa3db014e7fca6d6ed8 (patch)
tree4f6a1498591ae68319be20d302cae69562599de8 /docker-compose.yml
parentc242c1d87ae0655da2f03b4e09a50bdbb183912b (diff)
[Docker-Compose] [Breaking] Postgres 9.6 is EOL (11th Nov 2021) - Migrate to 14 Stable (#16947)
* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml6
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