Fix docker compose example files compatibility to v3

This commit is contained in:
Emanuele Bernardi 2021-10-20 16:44:30 +02:00 committed by fguillot
parent 03fd403e38
commit d45e1b3bed
3 changed files with 3 additions and 6 deletions

View file

@ -7,8 +7,7 @@ services:
ports:
- "80:8080"
depends_on:
db:
condition: service_healthy
- db
environment:
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
- RUN_MIGRATIONS=1

View file

@ -16,8 +16,7 @@ services:
image: ${MINIFLUX_IMAGE:-miniflux/miniflux:latest}
container_name: miniflux
depends_on:
db:
condition: service_healthy
- db
environment:
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
- RUN_MIGRATIONS=1

View file

@ -21,8 +21,7 @@ services:
image: ${MINIFLUX_IMAGE:-miniflux/miniflux:latest}
container_name: miniflux
depends_on:
db:
condition: service_healthy
- db
expose:
- "8080"
environment: