Pin Postgres image version in docker-compose examples to avoid unexpected upgrades

This commit is contained in:
Frédéric Guillot 2022-11-13 22:03:11 +00:00
parent 789e30fdff
commit d1bd0073cc
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ services:
# healthcheck: # healthcheck:
# test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"] # test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]
db: db:
image: postgres:latest image: postgres:15
container_name: postgres container_name: postgres
environment: environment:
- POSTGRES_USER=miniflux - POSTGRES_USER=miniflux

View file

@ -25,7 +25,7 @@ services:
- ADMIN_PASSWORD=test123 - ADMIN_PASSWORD=test123
- BASE_URL=https://miniflux.example.org - BASE_URL=https://miniflux.example.org
db: db:
image: postgres:latest image: postgres:15
container_name: postgres container_name: postgres
environment: environment:
- POSTGRES_USER=miniflux - POSTGRES_USER=miniflux

View file

@ -37,7 +37,7 @@ services:
- "traefik.http.routers.miniflux.entrypoints=websecure" - "traefik.http.routers.miniflux.entrypoints=websecure"
- "traefik.http.routers.miniflux.tls.certresolver=myresolver" - "traefik.http.routers.miniflux.tls.certresolver=myresolver"
db: db:
image: postgres:latest image: postgres:15
container_name: postgres container_name: postgres
environment: environment:
- POSTGRES_USER=miniflux - POSTGRES_USER=miniflux