summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTiago Serafim <[email protected]>2023-06-06 17:21:11 -0300
committerGitHub <[email protected]>2023-06-06 13:21:11 -0700
commitcb6644d33810846286c874cec81cf75e6f903cce (patch)
tree33c3ad59010426a4b9b820f554a5b96b1ce4f54e
parentd533ed428d174cd0c8b364898737fc7f2c82021f (diff)
downloadcaprover-one-click-apps-cb6644d33810846286c874cec81cf75e6f903cce.tar.gz
caprover-one-click-apps-cb6644d33810846286c874cec81cf75e6f903cce.zip
Update windmill.yml to latest version and added support for docker socket. (#947)
-rw-r--r--public/v4/apps/windmill.yml24
1 files changed, 10 insertions, 14 deletions
diff --git a/public/v4/apps/windmill.yml b/public/v4/apps/windmill.yml
index 2fd8e8b..1a29599 100644
--- a/public/v4/apps/windmill.yml
+++ b/public/v4/apps/windmill.yml
@@ -19,28 +19,25 @@ services:
environment:
DATABASE_URL: postgres://postgres:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/windmill?sslmode=disable
BASE_URL: $$cap_wm_base_url
- RUST_LOG: 'info'
- NUM_WORKERS: '0'
- DISABLE_SERVER: 'false'
- METRICS_ADDR: 'false'
+ RUST_LOG: info
+ NUM_WORKERS: 0
depends_on:
- $$cap_appname-postgres
caproverExtra:
- containerHttpPort: '8000'
+ containerHttpPort: 8000
$$cap_appname-worker:
image: ghcr.io/windmill-labs/windmill:$$cap_app_version
+ volumes:
+ - $$cap_appname-worker-dependency-cache:/tmp/windmill/cache
+ - /var/run/docker.sock:/var/run/docker.sock
environment:
DATABASE_URL: postgres://postgres:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/windmill?sslmode=disable
BASE_URL: $$cap_wm_base_url
BASE_INTERNAL_URL: 'http://srv-captain--$$cap_appname:8000'
- RUST_LOG: 'info'
- NUM_WORKERS: '1'
+ RUST_LOG: info
+ NUM_WORKERS: 1
DISABLE_SERVER: 'true'
- KEEP_JOB_DIR: 'false'
- DENO_PATH: '/usr/bin/deno'
- PYTHON_PATH: '/usr/local/bin/python3'
- METRICS_ADDR: 'false'
depends_on:
- $$cap_appname-postgres
caproverExtra:
@@ -51,7 +48,7 @@ services:
expose:
- 3001
caproverExtra:
- containerHttpPort: '3001'
+ containerHttpPort: 3001
notExposeAsWebApp: 'true'
caproverOneClickApp:
@@ -84,12 +81,11 @@ caproverOneClickApp:
variables:
- id: $$cap_app_version
label: Windmill Version
- defaultValue: '1.99'
+ defaultValue: '1.109.1'
description: Checkout their github page for the valid tags https://github.com/windmill-labs/windmill/releases
validRegex: /^([^\s^\/])+$/
- id: $$cap_wm_base_url
label: WM Base URL
- defaultValue: https://$$cap_appname.$$cap_root_domain
description: |-
Server fully qualified url of the user-facing URL.
Example: https://windmill.example.com