migrate to pg 15

This commit is contained in:
simon 2023-05-13 13:53:41 +07:00
parent 6126ac8674
commit 0641b8bf20
Signed by: simon
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 6 additions and 6 deletions

View File

@ -53,11 +53,11 @@ services:
- flask - flask
# backend postgres # backend postgres
postgres: postgres:
image: postgres:14 image: postgres:15
container_name: postgres container_name: postgres
restart: always restart: always
volumes: volumes:
- ./volume/postgres14:/var/lib/postgresql/data/ - ./volume/postgres15:/var/lib/postgresql/data/
env_file: env_file:
- ./env/postgres.env - ./env/postgres.env
expose: expose:
@ -77,10 +77,10 @@ services:
- umami-db - umami-db
restart: always restart: always
umami-db: umami-db:
image: postgres:14 image: postgres:15
container_name: umami-db container_name: umami-db
env_file: env_file:
- ./env/umami.env - ./env/umami.env
volumes: volumes:
- ./volume/umami/db:/var/lib/postgresql/data - ./volume/umami/postgres15:/var/lib/postgresql/data
restart: always restart: always

View File

@ -25,11 +25,11 @@ services:
- flask - flask
# backend postgres # backend postgres
postgres: postgres:
image: postgres:14 image: postgres:15
container_name: postgres container_name: postgres
restart: always restart: always
volumes: volumes:
- ./volume/postgres14:/var/lib/postgresql/data/ - ./volume/postgres15:/var/lib/postgresql/data/
env_file: env_file:
- ./env/postgres.env - ./env/postgres.env
expose: expose: