Skip to content

Commit

Permalink
Merge pull request #3680 from bensteinberg/pg-16
Browse files Browse the repository at this point in the history
Minimal upgrade to Postgres 16
  • Loading branch information
bensteinberg authored Jan 10, 2025
2 parents 381d0c4 + 92dd748 commit e562d68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,16 @@ services:
# Perma Payments
#
pp_db:
image: registry.lil.tools/library/postgres:12.8
image: registry.lil.tools/library/postgres:16.6
environment:
- POSTGRES_PASSWORD=example
volumes:
- pp_db_data:/var/lib/postgresql/data:delegated
- pp_db_data_16:/var/lib/postgresql/data:delegated
networks:
- perma_payments

perma-payments:
image: registry.lil.tools/harvardlil/perma-payments:19-feb5e21507118e85975cc35a5e15c5c4
image: registry.lil.tools/harvardlil/perma-payments:20-cd472eae28bb3affe3b6da1880ff17a2
# hack: sleep to give the database time to start up
command: >
sh -c "sleep 5 && ./manage.py migrate && invoke run"
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ services:
volumes:
- redis_data:/data:delegated
db:
image: registry.lil.tools/library/postgres:12.11
image: registry.lil.tools/library/postgres:16.6
environment:
POSTGRES_PASSWORD: password
POSTGRES_DB: perma
POSTGRES_USER: perma
volumes:
- postgres_data:/var/lib/postgresql/data:delegated
- postgres_data_16:/var/lib/postgresql/data:delegated
networks:
- default
- superset
Expand Down Expand Up @@ -140,9 +140,9 @@ services:

volumes:
node_modules:
postgres_data:
postgres_data_16:
redis_data:
pp_db_data:
pp_db_data_16:
scoop_redis_data:
scoop_postgres_data:
scoop_access_key:
Expand Down

0 comments on commit e562d68

Please sign in to comment.