blob: e0da095c15a8c835b3db8dbd4d8a041274b7ea0c (
plain) (
blame)
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
|
version: "3.8"
services:
web:
image: ghcr.io/mohamedbassem/hoarder-web:latest
volumes:
- data:/data
ports:
- 3000:3000
environment:
REDIS_HOST: redis
DATABASE_URL: "file:/data/db.db"
redis:
image: redis:7.2-alpine
volumes:
- redis:/data
workers:
image: ghcr.io/mohamedbassem/hoarder-workers:latest
volumes:
- data:/data
environment:
REDIS_HOST: redis
DATABASE_URL: "file:/data/db.db"
# OPENAI_API_KEY: ...
depends_on:
web:
condition: service_started
volumes:
redis:
data:
|