Update windmill.yml to latest version and added support for docker socket. (#947)
This commit is contained in:
parent
d533ed428d
commit
cb6644d338
|
|
@ -19,28 +19,25 @@ services:
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgres://postgres:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/windmill?sslmode=disable
|
DATABASE_URL: postgres://postgres:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/windmill?sslmode=disable
|
||||||
BASE_URL: $$cap_wm_base_url
|
BASE_URL: $$cap_wm_base_url
|
||||||
RUST_LOG: 'info'
|
RUST_LOG: info
|
||||||
NUM_WORKERS: '0'
|
NUM_WORKERS: 0
|
||||||
DISABLE_SERVER: 'false'
|
|
||||||
METRICS_ADDR: 'false'
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- $$cap_appname-postgres
|
- $$cap_appname-postgres
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
containerHttpPort: '8000'
|
containerHttpPort: 8000
|
||||||
|
|
||||||
$$cap_appname-worker:
|
$$cap_appname-worker:
|
||||||
image: ghcr.io/windmill-labs/windmill:$$cap_app_version
|
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:
|
environment:
|
||||||
DATABASE_URL: postgres://postgres:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/windmill?sslmode=disable
|
DATABASE_URL: postgres://postgres:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/windmill?sslmode=disable
|
||||||
BASE_URL: $$cap_wm_base_url
|
BASE_URL: $$cap_wm_base_url
|
||||||
BASE_INTERNAL_URL: 'http://srv-captain--$$cap_appname:8000'
|
BASE_INTERNAL_URL: 'http://srv-captain--$$cap_appname:8000'
|
||||||
RUST_LOG: 'info'
|
RUST_LOG: info
|
||||||
NUM_WORKERS: '1'
|
NUM_WORKERS: 1
|
||||||
DISABLE_SERVER: 'true'
|
DISABLE_SERVER: 'true'
|
||||||
KEEP_JOB_DIR: 'false'
|
|
||||||
DENO_PATH: '/usr/bin/deno'
|
|
||||||
PYTHON_PATH: '/usr/local/bin/python3'
|
|
||||||
METRICS_ADDR: 'false'
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- $$cap_appname-postgres
|
- $$cap_appname-postgres
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
|
|
@ -51,7 +48,7 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- 3001
|
- 3001
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
containerHttpPort: '3001'
|
containerHttpPort: 3001
|
||||||
notExposeAsWebApp: 'true'
|
notExposeAsWebApp: 'true'
|
||||||
|
|
||||||
caproverOneClickApp:
|
caproverOneClickApp:
|
||||||
|
|
@ -84,12 +81,11 @@ caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- id: $$cap_app_version
|
- id: $$cap_app_version
|
||||||
label: Windmill 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
|
description: Checkout their github page for the valid tags https://github.com/windmill-labs/windmill/releases
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- id: $$cap_wm_base_url
|
- id: $$cap_wm_base_url
|
||||||
label: WM Base URL
|
label: WM Base URL
|
||||||
defaultValue: https://$$cap_appname.$$cap_root_domain
|
|
||||||
description: |-
|
description: |-
|
||||||
Server fully qualified url of the user-facing URL.
|
Server fully qualified url of the user-facing URL.
|
||||||
Example: https://windmill.example.com
|
Example: https://windmill.example.com
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue