mirror of
https://github.com/miniflux/v2.git
synced 2025-09-30 19:22:11 +00:00
Fix database name inconsistency: use miniflux2 instead of miniflux
Co-authored-by: fguillot <323546+fguillot@users.noreply.github.com>
This commit is contained in:
parent
1073136b01
commit
7831644b48
4 changed files with 7 additions and 5 deletions
|
@ -9,7 +9,7 @@ services:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
|
- DATABASE_URL=postgres://miniflux:secret@db/miniflux2?sslmode=disable
|
||||||
- RUN_MIGRATIONS=1
|
- RUN_MIGRATIONS=1
|
||||||
- CREATE_ADMIN=1
|
- CREATE_ADMIN=1
|
||||||
- ADMIN_USERNAME=admin
|
- ADMIN_USERNAME=admin
|
||||||
|
@ -24,7 +24,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=miniflux
|
- POSTGRES_USER=miniflux
|
||||||
- POSTGRES_PASSWORD=secret
|
- POSTGRES_PASSWORD=secret
|
||||||
- POSTGRES_DB=miniflux
|
- POSTGRES_DB=miniflux2
|
||||||
volumes:
|
volumes:
|
||||||
- miniflux-db:/var/lib/postgresql/data
|
- miniflux-db:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
@ -18,7 +18,7 @@ services:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
|
- DATABASE_URL=postgres://miniflux:secret@db/miniflux2?sslmode=disable
|
||||||
- RUN_MIGRATIONS=1
|
- RUN_MIGRATIONS=1
|
||||||
- CREATE_ADMIN=1
|
- CREATE_ADMIN=1
|
||||||
- ADMIN_USERNAME=admin
|
- ADMIN_USERNAME=admin
|
||||||
|
@ -30,6 +30,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=miniflux
|
- POSTGRES_USER=miniflux
|
||||||
- POSTGRES_PASSWORD=secret
|
- POSTGRES_PASSWORD=secret
|
||||||
|
- POSTGRES_DB=miniflux2
|
||||||
volumes:
|
volumes:
|
||||||
- miniflux-db:/var/lib/postgresql/data
|
- miniflux-db:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
@ -25,7 +25,7 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- "8080"
|
- "8080"
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
|
- DATABASE_URL=postgres://miniflux:secret@db/miniflux2?sslmode=disable
|
||||||
- RUN_MIGRATIONS=1
|
- RUN_MIGRATIONS=1
|
||||||
- CREATE_ADMIN=1
|
- CREATE_ADMIN=1
|
||||||
- ADMIN_USERNAME=admin
|
- ADMIN_USERNAME=admin
|
||||||
|
@ -42,6 +42,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=miniflux
|
- POSTGRES_USER=miniflux
|
||||||
- POSTGRES_PASSWORD=secret
|
- POSTGRES_PASSWORD=secret
|
||||||
|
- POSTGRES_DB=miniflux2
|
||||||
volumes:
|
volumes:
|
||||||
- miniflux-db:/var/lib/postgresql/data
|
- miniflux-db:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# sourced by /etc/init.d/miniflux
|
# sourced by /etc/init.d/miniflux
|
||||||
# see cluster port in pg_lsclusters and ls -Al /var/run/postgresql/
|
# see cluster port in pg_lsclusters and ls -Al /var/run/postgresql/
|
||||||
export DATABASE_URL='host=/var/run/postgresql/ port=5433 user=miniflux password=<my secrect db password> dbname=miniflux sslmode=disable'
|
export DATABASE_URL='host=/var/run/postgresql/ port=5433 user=miniflux password=<my secrect db password> dbname=miniflux2 sslmode=disable'
|
||||||
export LISTEN_ADDR='127.0.0.1:8081'
|
export LISTEN_ADDR='127.0.0.1:8081'
|
||||||
export BASE_URL='https://<my miniflux domain> and path/'
|
export BASE_URL='https://<my miniflux domain> and path/'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue