]> cat aescling's git repositories - mastodon.git/commitdiff
[Docker-Compose] [Breaking] Postgres 9.6 is EOL (11th Nov 2021) - Migrate to 14 Stabl...
authorShlee <github@shl.ee>
Thu, 18 Nov 2021 21:00:27 +0000 (08:00 +1100)
committerGitHub <noreply@github.com>
Thu, 18 Nov 2021 21:00:27 +0000 (22:00 +0100)
* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml

docker-compose.yml

index 7b66318fcc82963a957f5aee2c25e9587e975ec4..c1c4e5ac705decce5de90045884b420e5b23c19e 100644 (file)
@@ -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