-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (47 loc) · 1.15 KB
/
docker-compose.yml
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
45
46
47
48
49
50
51
52
version: '3'
services:
postgres:
image: postgres:14-alpine
hostname: postgres
restart: always
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
networks:
net:
miniflux:
image: miniflux/miniflux
restart: always
environment:
POLLING_FREQUENCY: '60' # minutes
BATCH_SIZE: '100'
CLEANUP_ARCHIVE_READ_DAYS: '7'
AUTH_PROXY_HEADER: 'X-Username'
AUTH_PROXY_USER_CREATION: '1'
PORT: '8080'
DATABASE_URL: postgres://postgres:postgres@postgres/postgres?sslmode=disable
RUN_MIGRATIONS: '1'
CREATE_ADMIN: '1'
ADMIN_USERNAME: admin
ADMIN_PASSWORD: admin123
ports:
- "8080:8080"
networks:
- net
depends_on:
- postgres
miniflux-cleanup:
build: .
restart: always
environment:
MINIFLUX_URL: http://miniflux:8080
AUTH_PROXY_HEADER: 'X-Username' # read username from http header
DEFAULT_USERNAME: admin # if empty use this one as static username
CRONJOB_INTERVAL: 10s
ports:
- "8081:8080"
networks:
- net
networks:
net: