-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
44 lines (41 loc) · 979 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
services:
miniflux:
image: miniflux/miniflux:latest
restart: always
depends_on:
- db
environment:
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
- RUN_MIGRATIONS
- CREATE_ADMIN
- ADMIN_USERNAME
- ADMIN_PASSWORD
- POLLING_FREQUENCY=10
- POCKET_CONSUMER_KEY
- BASE_URL
- TZ=Europe/Moscow
ports:
- "127.0.0.1:3005:8080"
db:
image: postgres:15
restart: always
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=miniflux
volumes:
- miniflux-db:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"]
interval: 10s
start_period: 30s
command: |
postgres
-c wal_level=minimal
-c archive_mode=off
-c wal_keep_size=0
-c wal_recycle=off
-c min_wal_size=32MB
-c max_wal_senders=0
volumes:
miniflux-db: