-
Notifications
You must be signed in to change notification settings - Fork 7
/
compose.yaml
36 lines (36 loc) · 1.08 KB
/
compose.yaml
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
version: "2"
services:
clp-scheduler:
image: mcuadros/ofelia:latest
container_name: clp-scheduler
depends_on:
- clp-all
command: daemon --docker -f label=com.docker.compose.project=${COMPOSE_PROJECT_NAME}
labels:
ofelia.job-run.clp-all.schedule: 0 30 22 * * *
ofelia.job-run.clp-all.container: clp-all
environment:
- TZ=Asia/Shanghai
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: unless-stopped
clp-all:
image: x1ao4/chinese-localization-for-plex:latest
container_name: clp-all
command: python chinese-localization-for-plex.py --all
environment:
- TZ=Asia/Shanghai
volumes:
- /自定义目录/chinese-localization-for-plex/config:/app/config
clp-new:
image: x1ao4/chinese-localization-for-plex:latest
container_name: clp-new
command: python chinese-localization-for-plex.py --new
ports:
- 8088:8088
environment:
- TZ=Asia/Shanghai
volumes:
- /自定义目录/chinese-localization-for-plex/config:/app/config
restart: unless-stopped
networks: {}