miniflux: db migration; https://eelkevdbos.medium.com/upgrade-postgresql-with-docker-compose-99d995e464
This commit is contained in:
parent
66981cdf0d
commit
b573487748
1 changed files with 6 additions and 6 deletions
|
@ -5,9 +5,9 @@ services:
|
|||
image: "ghcr.io/miniflux/miniflux:2.2.0"
|
||||
restart: always
|
||||
depends_on:
|
||||
- mf-db16
|
||||
- mf-db17
|
||||
environment:
|
||||
DATABASE_URL: "postgres://miniflux:{{ lookup('viczem.keepass.keepass', 'miniflux_postgres_password', 'password') }}@mf-db16/miniflux?sslmode=disable"
|
||||
DATABASE_URL: "postgres://miniflux:{{ lookup('viczem.keepass.keepass', 'miniflux_postgres_password', 'password') }}@mf-db17/miniflux?sslmode=disable"
|
||||
RUN_MIGRATIONS: 1
|
||||
# CREATE_ADMIN: 1
|
||||
# ADMIN_USERNAME: adminmf
|
||||
|
@ -31,8 +31,8 @@ services:
|
|||
traefik.http.services.miniflux.loadbalancer.server.port: 8080
|
||||
|
||||
######## Postgres ########
|
||||
mf-db16:
|
||||
container_name: "mf-db16"
|
||||
mf-db17:
|
||||
container_name: "mf-db17"
|
||||
image: "postgres:17.0"
|
||||
restart: always
|
||||
environment:
|
||||
|
@ -41,7 +41,7 @@ services:
|
|||
TZ: Europe/Berlin
|
||||
POSTGRES_HOST_AUTH_METHOD: "md5" # Workaround beim Migration von 13 -> 16; https://eelkevdbos.medium.com/upgrade-postgresql-with-docker-compose-99d995e464 ;
|
||||
volumes:
|
||||
- db16:/var/lib/postgresql/data
|
||||
- db17:/var/lib/postgresql/data
|
||||
networks:
|
||||
- intern
|
||||
healthcheck:
|
||||
|
@ -69,7 +69,7 @@ services:
|
|||
|
||||
######## Volumes ########
|
||||
volumes:
|
||||
db16:
|
||||
db17:
|
||||
######## Networks ########
|
||||
networks:
|
||||
traefik:
|
||||
|
|
Loading…
Reference in a new issue