Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windmill App to Appstore #310

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions Apps/Windmill/appfile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"version": "3.7",
"title": "Windmill",
"name": "windmill",
"icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Windmill/icon.png",
"tagline": "Windmill is an open-source, blazing fast and scalable alternative to Retool, Airplane, Superblocks, n8n, Airflow, Temporal to build all your internal tools (endpoints, workflows, UIs) through the combination of code (in Typescript, Python, Go, Bash, SQL or any docker image) and low code builders",
"overview": "Windmill is a feature-rich platform that allows you to build endpoints, cron jobs, workflows & UIs. Each of these features can be used standalone.",
"thumbnail": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Windmill/thumbnail.png",
"screenshots": [
"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Windmill/screenshot-1.png",
"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Windmill/screenshot-2.png",
"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Windmill/screenshot-3.png"
],
"category": [
"Developer"
],
"developer": {
"name": "windmill-labs",
"website": "https://github.com/windmill-labs/windmill",
"donate_text": "",
"donate_link": ""
},
"adaptor": {
"name": "CasaOS Team",
"website": "https://www.casaos.io",
"donate_text": "",
"donate_link": ""
},
"support": "https://discord.gg/V7PM2YHsPB",
"website": "https://www.windill.dev",
"container": {
"image": "ghcr.io/windmill-labs/windmill:main",
"shell": "sh",
"privileged": false,
"network_model": "bridge",
"web_ui": {
"http": "3011",
"path": "/"
},
"health_check": "",
"envs": [],
"ports": [
{
"container": "8000",
"host": "3011",
"type": "tcp",
"allocation": "automatic",
"configurable": "no",
"description": ""
}
],
"volumes": [
{
"container": "/tmp/windmill/cache",
"host": "worker_dependency_cache",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": "Windmill database and plugins directory."
}
],
"devices": [],
"constraints": {
"min_memory": 64,
"min_storage": 128
},
"restart_policy": "always",
"sysctls": [],
"cap_add": [],
"labels": [],
"host_name": "",
"cmd": []
},
"abilities": {
"notification": false,
"widgets": false,
"authentication": false,
"search": false,
"upnp": false
},
"tips": {
"before_install": [
{
"content": "username",
"value": "[email protected]"
},
{
"content": "password",
"value": "changeme"
}
]
},
"changelog": {
"latest_updates": "",
"url": "https://github.com/windmill-labs/windmill/blob/main/CHANGELOG.md"
},
"latest_update_date": ""
}
103 changes: 103 additions & 0 deletions Apps/Windmill/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
version: "3.7"

services:
db:
deploy:
# To use an external database, set replicas to 0 and set DATABASE_URL to the external database url in the .env file
replicas: 1
image: postgres:14
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data
expose:
- 5432
environment:
POSTGRES_PASSWORD: changeme
POSTGRES_DB: windmill
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5

windmill_server:
image: ghcr.io/windmill-labs/windmill:main
pull_policy: always
deploy:
replicas: 1
restart: unless-stopped
expose:
- 8000
ports:
- 3011:8000
environment:
- DATABASE_URL=postgres://postgres:changeme@db/windmill?sslmode=disable
- RUST_LOG=info
- MODE=server
## You can set the number of workers to 1 and not need any separate worker service but not recommended
- METRICS_ADDR=false # (ee only, if set to true, metrics will be exposed on port 8001)
depends_on:
db:
condition: service_healthy

windmill_worker:
image: ghcr.io/windmill-labs/windmill:main
pull_policy: always
deploy:
replicas: 3
resources:
limits:
cpus: "1"
memory: 2048M
restart: unless-stopped
environment:
- DATABASE_URL=postgres://postgres:changeme@db/windmill?sslmode=disable
- RUST_LOG=info
- MODE=worker
- KEEP_JOB_DIR=false
- METRICS_ADDR=false
- WORKER_GROUP=default
depends_on:
db:
condition: service_healthy
# to mount the worker folder to debug, KEEP_JOB_DIR=true and mount /tmp/windmill
volumes:
# mount the docker socket to allow to run docker containers from within the workers
- /var/run/docker.sock:/var/run/docker.sock
- worker_dependency_cache:/tmp/windmill/cache

## This worker is specialized for "native" jobs. Native jobs run in-process and thus are much more lightweight than other jobs
windmill_worker_native:
# Use ghcr.io/windmill-labs/windmill-ee:main for the ee
image: ghcr.io/windmill-labs/windmill:main
pull_policy: always
deploy:
replicas: 2
resources:
limits:
cpus: "0.1"
memory: 128M
restart: unless-stopped
environment:
- DATABASE_URL=postgres://postgres:changeme@db/windmill?sslmode=disable
- RUST_LOG=info
- MODE=worker
- WORKER_GROUP=native
- METRICS_ADDR=false # (ee only, if set to true, metrics will be exposed on port 8001)
depends_on:
db:
condition: service_healthy

lsp:
image: ghcr.io/windmill-labs/windmill-lsp:1.187
restart: unless-stopped
expose:
- 3001
volumes:
- lsp_cache:/root/.cache


volumes:
db_data: null
worker_dependency_cache: null
lsp_cache: null
Binary file added Apps/Windmill/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Apps/Windmill/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Apps/Windmill/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Apps/Windmill/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Apps/Windmill/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.