mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 10:24:53 +01:00
build
This commit is contained in:
2
__swarm/kestra/.env
Executable file
2
__swarm/kestra/.env
Executable file
@@ -0,0 +1,2 @@
|
||||
APPNAME=kestra
|
||||
PASSWORD=l4c1j4yd33Du5lo
|
||||
89
__swarm/kestra/docker-compose.yml
Executable file
89
__swarm/kestra/docker-compose.yml
Executable file
@@ -0,0 +1,89 @@
|
||||
services:
|
||||
kestra:
|
||||
command: server standalone --worker-thread=128
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_started
|
||||
environment:
|
||||
SECRET_MYPASSWORD: bDRjMWo0eWQzM0R1NWxv
|
||||
SECRET_GITLAB: Z2xwYXQtdWotbi1lRWZUWTM5OFBFNHZLU1M=
|
||||
KESTRA_CONFIGURATION: |
|
||||
datasources:
|
||||
postgres:
|
||||
url: jdbc:postgresql://postgres:5432/kestra
|
||||
driverClassName: org.postgresql.Driver
|
||||
username: kestra
|
||||
password: k3str4
|
||||
kestra:
|
||||
server:
|
||||
basicAuth:
|
||||
enabled: false
|
||||
username: "jaydee@sectorq.eu" # it must be a valid email address
|
||||
password: ${PASSWORD}
|
||||
repository:
|
||||
type: postgres
|
||||
storage:
|
||||
type: local
|
||||
local:
|
||||
basePath: "/app/storage"
|
||||
queue:
|
||||
type: postgres
|
||||
tasks:
|
||||
tmpDir:
|
||||
path: /tmp/kestra-wd/tmp
|
||||
url: http://localhost:8080/
|
||||
tutorial-flows:
|
||||
enabled: false
|
||||
micronaut:
|
||||
server:
|
||||
cors:
|
||||
enabled: true
|
||||
|
||||
image: ${DOCKER_REGISTRY:-}kestra/kestra:${KESTRA_VERSION:-latest}
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: 'true'
|
||||
homepage.container: kestra-kestra-1
|
||||
homepage.description: Automation
|
||||
homepage.group: Infrastructure
|
||||
homepage.href: https://${APPNAME}.sectorq.eu
|
||||
homepage.icon: ${APPNAME}.png
|
||||
homepage.name: Kestra
|
||||
homepage.server: my-docker
|
||||
homepage.weight: '1'
|
||||
wud.display.icon: mdi:evernote
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
ports:
|
||||
- 8980:8080
|
||||
- 8981:8081
|
||||
pull_policy: always
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
user: root
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /share/docker_data/kestra/kestra-data:/app/storage
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /tmp/kestra-wd:/tmp/kestra-wd
|
||||
postgres:
|
||||
environment:
|
||||
POSTGRES_DB: kestra
|
||||
POSTGRES_PASSWORD: k3str4
|
||||
POSTGRES_USER: kestra
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 10
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}
|
||||
timeout: 10s
|
||||
image: ${DOCKER_REGISTRY:-}postgres:16
|
||||
labels:
|
||||
wud.watch: false
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/kestra/postgres-data:/var/lib/postgresql/data
|
||||
volumes:
|
||||
kestra-data:
|
||||
driver: local
|
||||
postgres-data:
|
||||
driver: local
|
||||
1
__swarm/kestra/stack.env
Executable file
1
__swarm/kestra/stack.env
Executable file
@@ -0,0 +1 @@
|
||||
APPNAME=kestra
|
||||
Reference in New Issue
Block a user