Skip to content

Commit e5b29c7

Browse files
authored
Merge pull request #1043 from makeabilitylab/prod-postgres-upgrade
Add env settings to use postgres:16 image in prod
2 parents fcbc681 + 6097a81 commit e5b29c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

makeabilitylabwebsite/rebuildanddeploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ elif [[ $(hostname -s) == $PROD_HOST ]] ; then
1717
export DJANGO_ENV=PROD
1818
export MEDIA_PATH=/cse/web/research/makelab/www
1919
export CONFIG_PATH=/cse/web/research/makelab/secret/config.ini
20+
export POSTGRES_IMAGE=postgres:16
21+
export POSTGRES_VOLUME=postgres16-data
2022
else
2123
export DJANGO_ENV=DEBUG
2224
fi

0 commit comments

Comments
 (0)