about summary refs log tree commit diff
path: root/deploy
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-04-22 20:19:17 -0500
committerStarfall <us@starfall.systems>2023-04-22 20:19:17 -0500
commit331d2298f0388384679ab20b9a2ec9b3ce4fdfab (patch)
tree03f25c5c8c4cee85b84850ad9766ef3d3316c0b7 /deploy
parent63cfa990b1ebd48c610d857361fb6200973e2d0a (diff)
updated postgres HEAD main
Diffstat (limited to 'deploy')
-rw-r--r--deploy/docker-compose.yml2
-rwxr-xr-xdeploy/setup-mastodon.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml
index ca599b5..1201d60 100644
--- a/deploy/docker-compose.yml
+++ b/deploy/docker-compose.yml
@@ -38,7 +38,7 @@ services:
 
   db:
     restart: always
-    image: postgres:11-alpine
+    image: postgres:15
     healthcheck:
       test: ["CMD", "pg_isready", "-U", "postgres"]
     networks:
diff --git a/deploy/setup-mastodon.sh b/deploy/setup-mastodon.sh
index 165bbf4..3bd2c74 100755
--- a/deploy/setup-mastodon.sh
+++ b/deploy/setup-mastodon.sh
@@ -11,6 +11,7 @@ install conf/.env.ambassador    /srv/plural.cafe/mastodon/.env.ambassador
 install conf/.env.production    /srv/plural.cafe/mastodon/.env.production
 # TODO some edits here
 
+# TODO remember that database pg_hba.conf should be set to trust 192.168.0.0/16 for the docker network
 # TODO rewrite the below
 [ -z "$YML_LOC" ] && YML_LOC="$(pwd)"
 cd $YML_LOC