-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
75 lines (75 loc) · 1.48 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: '3.8'
services:
files:
build: images
image: files
restart: "no"
entrypoint: "/bin/sh -c 'cp -rf /data/* /hook'"
volumes:
- type: volume
source: routing
target: /hook
bind:
propagatin: rshared
miniflux:
image: miniflux/miniflux:2.0.21
networks:
- routing
- miniflux
depends_on:
- db
env_file:
- miniflux.credentials
environment:
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
- RUN_MIGRATIONS=1
- POLLING_FREQUENCY=60
- CREATE_ADMIN=1
restart: unless-stopped
db:
image: postgres:10.1
networks:
- miniflux
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD=secret
volumes:
- miniflux-db:/var/lib/postgresql/data
rsshub:
image: diygod/rsshub
networks:
- routing
- rsshub
restart: always
environment:
NODE_ENV: production
CACHE_TYPE: redis
REDIS_URL: 'redis://redis:6379/'
PUPPETEER_WS_ENDPOINT: 'ws://browserless:3000'
depends_on:
- redis
- browserless
browserless:
image: browserless/chrome
networks:
- rsshub
restart: always
redis:
image: redis:alpine
networks:
- rsshub
restart: always
volumes:
- redis:/data
networks:
routing:
external:
name: routing-hooked
miniflux:
rsshub:
volumes:
miniflux-db:
redis:
routing:
external:
name: routing-hooked