Skip to content

Commit

Permalink
feat(windmill): add native workers, remove cache and version bump. (#970
Browse files Browse the repository at this point in the history
)
  • Loading branch information
slig authored Jul 25, 2023
1 parent aaa12a4 commit 1e91483
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions public/v4/apps/windmill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,40 @@ 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:
notExposeAsWebApp: 'true'

$$cap_appname-lsp:
image: ghcr.io/windmill-labs/windmill-lsp:$$cap_app_version
volumes:
- $$cap_appname-lsp-cache:/root/.cache
expose:
- 3001
caproverExtra:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1e91483

Please sign in to comment.