diff options
| author | Tiago Serafim <[email protected]> | 2023-07-25 11:51:40 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-25 07:51:40 -0700 |
| commit | 1e91483278b53de2b088f761c2df271b150f5472 (patch) | |
| tree | 44cb5db583c6fa183150684979cbedcebd33f81b | |
| parent | aaa12a4f37f7f3a53c009de1df9ef6bbcb4fdbb3 (diff) | |
| download | caprover-one-click-apps-1e91483278b53de2b088f761c2df271b150f5472.tar.gz caprover-one-click-apps-1e91483278b53de2b088f761c2df271b150f5472.zip | |
feat(windmill): add native workers, remove cache and version bump. (#970)
| -rw-r--r-- | public/v4/apps/windmill.yml | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/public/v4/apps/windmill.yml b/public/v4/apps/windmill.yml index 1a29599..23624e6 100644 --- a/public/v4/apps/windmill.yml +++ b/public/v4/apps/windmill.yml @@ -29,15 +29,31 @@ services: $$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 DISABLE_SERVER: 'true' + WORKER_TAGS: deno,python3,go,bash,dependency,flow,hub,other,bun + depends_on: + - $$cap_appname-postgres + caproverExtra: + notExposeAsWebApp: 'true' + + $$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 depends_on: - $$cap_appname-postgres caproverExtra: @@ -45,6 +61,8 @@ services: $$cap_appname-lsp: image: ghcr.io/windmill-labs/windmill-lsp:$$cap_app_version + volumes: + - $$cap_appname-lsp-cache:/root/.cache expose: - 3001 caproverExtra: @@ -81,7 +99,7 @@ caproverOneClickApp: variables: - id: $$cap_app_version label: Windmill Version - defaultValue: '1.109.1' + defaultValue: '1.135.1' description: Checkout their github page for the valid tags https://github.com/windmill-labs/windmill/releases validRegex: /^([^\s^\/])+$/ - id: $$cap_wm_base_url |
