-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
56 lines (51 loc) · 1.29 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
version: "3.3"
services:
core:
image: alaskanpuffin/herodotus-core:latest
volumes:
- "herodotus:/app/data"
networks:
- herodotus-network
links:
- meilisearch
depends_on:
- meilisearch
ports:
- "8080:8080"
environment:
- MEILI_SEARCH_URL=http://meilisearch:7700
- MEILI_SEARCH_MASTER_KEY=<MEILI_MASTER_KEY>
- SECRET_KEY=<SECRET_KEY>
labels:
ofelia.enabled: "true"
ofelia.job-exec.pullfeeds.schedule: "@every 1h" # Frequency the feeds are pulled for new articles
ofelia.job-exec.pullfeeds.command: "python /app/manage.py pull_feeds"
web:
image: alaskanpuffin/herodotus-web:latest
ports:
- "80:80"
environment:
- VUE_APP_API_ROOT=http://<HERODOTUS-CORE-IP/HOSTNAME>:8080 # Do not include a trailing slash
meilisearch:
image: getmeili/meilisearch:latest
networks:
- herodotus-network
volumes:
- meilisearch:/data.ms
expose:
- "7700"
environment:
- MEILI_ENV=production
- MEILI_MASTER_KEY=<MEILI_MASTER_KEY>
ofelia:
image: mcuadros/ofelia:latest
depends_on:
- core
command: daemon --docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes:
herodotus:
meilisearch:
networks:
herodotus-network: