-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-example.yml
90 lines (89 loc) · 2.17 KB
/
docker-compose-example.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
volumes:
ee-postgres-data:
driver: local
ee-kestra-data:
driver: local
networks:
local: {}
services:
postgres:
image: postgres
environment:
POSTGRES_DB: kestra
POSTGRES_USER: kestra
POSTGRES_PASSWORD: k3str4
shm_size: 1g
ports:
- "5433:5432"
volumes:
- ee-postgres-data:/var/lib/postgresql
networks:
- local
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 30s
timeout: 10s
retries: 10
ee:
image: ghcr.io/kestra-io/kestra-ee:latest
pull_policy: always
user: "root"
command: server standalone --worker-thread=128
volumes:
- ee-kestra-data:/app/storage
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/kestra-wd:/tmp/kestra-wd
depends_on:
postgres:
condition: service_started
environment:
KESTRA_CONFIGURATION: |
datasources:
postgres:
url: jdbc:postgresql://postgres:5432/kestra
driverClassName: org.postgresql.Driver
username: kestra
password: k3str4
micronaut:
security:
token:
jwt:
signatures:
secret:
generator:
secret: t0pscrt
kestra:
encryption:
secret-key: t0pscrt
repository:
type: postgres
storage:
type: local
local:
basePath: "/app/storage"
queue:
type: postgres
secret:
type: jdbc
jdbc:
secret: t0pscrt
tasks:
tmpDir:
path: /tmp/kestra-wd
url: http://localhost:8080/
ee:
tenants:
enabled: true
license:
id: myid
key: |
mykey
ports:
- "8080:8080"
- "8081:8081"
networks:
- local
# docker login registry.kestra.io --username=licenseId --password=fingerprint
# docker pull registry.kestra.io/docker/kestra-ee:latest
# docker compose up -d