forked from dagucloud/dagu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
41 lines (37 loc) · 867 Bytes
/
docker-compose.yaml
File metadata and controls
41 lines (37 loc) · 867 Bytes
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
version: "3.9"
services:
# init container updates permission
init:
image: "ghcr.io/dagu-dev/dagu:latest"
user: root
volumes:
- dagu:/home/dagu/.dagu
command: chown -R dagu /home/dagu/.dagu/
# ui web server process
server:
image: "ghcr.io/dagu-dev/dagu:latest"
environment:
- DAGU_PORT=8080
- DAGU_DAGS=/home/dagu/.dagu/dags
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- dagu:/home/dagu/.dagu
- ./dags/:/home/dagu/.dagu/dags
depends_on:
- init
# scheduler process
scheduler:
image: "ghcr.io/dagu-dev/dagu:latest"
environment:
- DAGU_DAGS=/home/dagu/.dagu/dags
restart: unless-stopped
volumes:
- dagu:/home/dagu/.dagu
- ./dags/:/home/dagu/.dagu/dags
command: dagu scheduler
depends_on:
- init
volumes:
dagu: {}