Skip to content

Commit ac975de

Browse files
committed
update self-host instructions
1 parent 045bccc commit ac975de

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

docs/advanced/1_self_host/index.md

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,6 @@ help you get started.
1212

1313
## Docker
1414

15-
:::tip
16-
17-
Simplified instruction for docker compose in the
18-
[README](https://github.com/windmill-labs/windmill#how-to-self-host).
19-
20-
:::
21-
22-
:::warning
23-
24-
Use `docker compose` and not `docker-compose`.
25-
26-
:::
27-
28-
:::info
29-
30-
When talking about the `compose`, or `caddyfile`, we explicitly refer to the
31-
ones on [Windmill's GitHub repository][windmill-gh].
32-
33-
:::
34-
3515
Using Docker and Caddy, Windmill can be deployed using two files,
3616
([`docker-compose.yml`][windmill-docker-compose] and
3717
[`Caddyfile`][windmill-caddyfile]) and in a single command.
@@ -40,6 +20,14 @@ Using Docker and Caddy, Windmill can be deployed using two files,
4020
Postgres of storage, Windmill-LSP provides editor intellisense. All managed by
4121
one [`docker-compose.yml`][windmill-docker-compose] file.
4222

23+
```
24+
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/docker-compose.yml -o docker-compose.yml
25+
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/Caddyfile -o Caddyfile
26+
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/.env -o .env
27+
28+
docker compose up -d --pull always
29+
```
30+
4331
### Configuration
4432

4533
Let's assume you wish to deploy Windmill to the `windmill.example.com` domain.

0 commit comments

Comments
 (0)