-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathw03_windmill.txt
More file actions
93 lines (79 loc) · 3.54 KB
/
w03_windmill.txt
File metadata and controls
93 lines (79 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Working with windmill.dev
# -------------------------------------------------------------
install latest node
brew install node # version v24.6.0
which node # /usr/local/bin/node
# -------------------------------------------------------------
npm install -g windmill-cli
which wmill
ln -s /usr/local/Cellar/node/24.6.0/bin/wmill /usr/local/bin/wmill
which wmill
# -------------------------------------------------------------
which docker
If no docker - install it and start it
https://www.docker.com/products/docker-desktop
# -------------------------------------------------------------
mkdir ~/windmill
cd ~/windmill
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/docker-compose.yml -o docker-compose.yml
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/Caddyfile -o Caddyfile
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/.env -o .env
# -------------------------------------------------------------
Two files:
Caddyfile = configuration file for Caddy reverse proxy and web server for your Windmill setup
docker-compose.yml = Windmill configuration
---------------------------------------------------------------
Starting/stopping:
docker compose up -d # start windmill app
docker compose down # shut it down
docker compose down -v # removes all data permanently
docker compose down --rmi all -v # removes images as well
docker compose ps # verify
docker compose stop # stop ( but easy to restart)
docker ps # view running containers
# -------------------------------------------------------------
http://localhost/user/login
Email: admin@windmill.dev
Password: changeme
# -------------------------------------------------------------
- http://localhost/user/workspaces
- Click "+ Create a new workspace" button - and create it ("myworkspace")
select the AI model - and enter API key
- Then click on "User settings"
In the user settings, look for a "Tokens" tab
or section where you can create or copy an API token
- connect the CLI:
wmill workspace add myworkspace http://localhost mytoken
# -------------------------------------------------------------
Home
Runs - http://localhost/runs
Variables - http://localhost/variables
Resources - http://localhost/resources
Assets - http://localhost/assets
# -------------------------------------------------------------
Triggers
Schedules - http://localhost/schedules
# -------------------------------------------------------------
User - http://localhost/assets#user-settings
# -------------------------------------------------------------
Settings
- http://localhost/#user-settings
- http://localhost/workspace_settings
- http://localhost/workspace_settings#superadmin-settings
- http://localhost/user/instance_settings
# -------------------------------------------------------------
Workers - http://localhost/workers
Service Logs, Queue Metrics, Default tags, Custom tags
worker groups: default, native, reports
separate config for each group
# -------------------------------------------------------------
Foleders & Groups
- http://localhost/folders - Folders
- http://localhost/groups - Groups
# -------------------------------------------------------------
Logs:
- http://localhost/audit_logs - Audit logs
- http://localhost/service_logs - Service logs
# -------------------------------------------------------------
+ HTTP, WebSockets, Postgres, EE (Kafka, NATS, SQS, GCP Pub/Sub)
# -------------------------------------------------------------