-
Notifications
You must be signed in to change notification settings - Fork 1
/
kaizoku.yml
47 lines (46 loc) · 1.25 KB
/
kaizoku.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
volumes:
db:
redis:
services:
app:
container_name: kaizoku
image: ghcr.io/oae/kaizoku:latest
environment:
- DATABASE_URL=postgresql://kaizoku:kaizoku@db:5432/kaizoku
- KAIZOKU_PORT=3000
- REDIS_HOST=redis
- REDIS_PORT=6379
- PUID=<host user puid>
- PGID=<host user guid>
- TZ=Europe/Istanbul
volumes:
- $DOCKERDIR/appdata/kaizoku:/config
- $DATADIR/data/media/manga:/data/manga # Manga is just an example you can have the name you want. See the following
- $DATADIR/data/media/comics:/data/comics # Use as many as you want
- $DATADIR/data/media/manhwa:/data/manhwa #
- $DATADIR/data/media/manhua:/data/manhua #
- $DATADIR/data/media/books:/data/books #
- <path_to_logs>:/logs
depends_on:
db:
condition: service_healthy
ports:
- "3000:3000"
redis:
image: redis:7-alpine
volumes:
- redis:/data
db:
image: postgres:alpine
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U kaizoku"]
interval: 5s
timeout: 5s
retries: 5
environment:
- POSTGRES_USER=kaizoku
- POSTGRES_DB=kaizoku
- POSTGRES_PASSWORD=kaizoku
volumes:
- db:/var/lib/postgresql/data