From 629969ab23990aa0eac65783df9912bdbbf76f64 Mon Sep 17 00:00:00 2001 From: Tiago Serafim Date: Wed, 6 Dec 2023 00:21:39 -0300 Subject: [PATCH] Update windmill.yml to 1.219.1 (#1034) Update to the latest release and update of the template (following the project's official `docker-compose.yml`). --- public/v4/apps/windmill.yml | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/public/v4/apps/windmill.yml b/public/v4/apps/windmill.yml index 23624e6..d8cd254 100644 --- a/public/v4/apps/windmill.yml +++ b/public/v4/apps/windmill.yml @@ -12,15 +12,13 @@ services: caproverExtra: notExposeAsWebApp: 'true' - $$cap_appname: + $$cap_appname-server: image: ghcr.io/windmill-labs/windmill:$$cap_app_version expose: - 8000 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 + MODE: server depends_on: - $$cap_appname-postgres caproverExtra: @@ -30,13 +28,11 @@ services: image: ghcr.io/windmill-labs/windmill:$$cap_app_version volumes: - /var/run/docker.sock:/var/run/docker.sock + - $$cap_appname-worker-dependency-cache:/tmp/windmill/cache 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: 1 - DISABLE_SERVER: 'true' - WORKER_TAGS: deno,python3,go,bash,dependency,flow,hub,other,bun + MODE: worker + WORKER_GROUP: default depends_on: - $$cap_appname-postgres caproverExtra: @@ -44,16 +40,10 @@ services: $$cap_appname-worker-native: image: ghcr.io/windmill-labs/windmill:$$cap_app_version - volumes: - - /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 - RUST_LOG: info - NUM_WORKERS: 1 - DISABLE_SERVER: 'true' - PARALLEL_NATIVE_JOBS: 12 - WORKER_TAGS: nativets,postgresql,mysql,graphql + MODE: worker + WORKER_GROUP: native depends_on: - $$cap_appname-postgres caproverExtra: @@ -99,14 +89,9 @@ caproverOneClickApp: variables: - id: $$cap_app_version label: Windmill Version - defaultValue: '1.135.1' + defaultValue: '1.219.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 - description: |- - Server fully qualified url of the user-facing URL. - Example: https://windmill.example.com - id: $$cap_postgres_version label: Postgres Version defaultValue: '15-alpine'