From cb6644d33810846286c874cec81cf75e6f903cce Mon Sep 17 00:00:00 2001 From: Tiago Serafim Date: Tue, 6 Jun 2023 17:21:11 -0300 Subject: [PATCH] Update windmill.yml to latest version and added support for docker socket. (#947) --- public/v4/apps/windmill.yml | 24 ++++++++++-------------- 1 file 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