Skip to content

Commit 052fcd2

Browse files
committed
chore: Update service names and volumes in windmill.yaml
1 parent 8af41b5 commit 052fcd2

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

templates/compose/windmill.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
image: postgres:16
1010
shm_size: 1g
1111
volumes:
12-
- db_data:/var/lib/postgresql/data
12+
- db-data:/var/lib/postgresql/data
1313
environment:
1414
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
1515
- POSTGRES_DB=${POSTGRES_DB:-windmill}
@@ -19,7 +19,7 @@ services:
1919
timeout: 5s
2020
retries: 5
2121

22-
windmill_server:
22+
windmill-server:
2323
image: ghcr.io/windmill-labs/windmill:main
2424
environment:
2525
- SERVICE_FQDN_WINDMILL_8000
@@ -30,14 +30,14 @@ services:
3030
db:
3131
condition: service_healthy
3232
volumes:
33-
- worker_logs:/tmp/windmill/logs
33+
- worker-logs:/tmp/windmill/logs
3434
healthcheck:
35-
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
35+
test: ["CMD", "curl", "-f", "http://localhost:8000/api/version || exit 1"]
3636
interval: 30s
3737
timeout: 10s
3838
retries: 3
3939

40-
windmill_worker_1:
40+
windmill-worker-1:
4141
image: ghcr.io/windmill-labs/windmill:main
4242
environment:
4343
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -48,15 +48,15 @@ services:
4848
condition: service_healthy
4949
volumes:
5050
- /var/run/docker.sock:/var/run/docker.sock
51-
- worker_dependency_cache:/tmp/windmill/cache
52-
- worker_logs:/tmp/windmill/logs
51+
- worker-dependency-cache:/tmp/windmill/cache
52+
- worker-logs:/tmp/windmill/logs
5353
healthcheck:
54-
test: ["CMD-SHELL", "exit 0"]
54+
test: ["CMD", "curl", "-f", "http://localhost:8000/api/version || exit 1"]
5555
interval: 30s
5656
timeout: 10s
5757
retries: 3
5858

59-
windmill_worker_2:
59+
windmill-worker-2:
6060
image: ghcr.io/windmill-labs/windmill:main
6161
environment:
6262
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -67,15 +67,15 @@ services:
6767
condition: service_healthy
6868
volumes:
6969
- /var/run/docker.sock:/var/run/docker.sock
70-
- worker_dependency_cache:/tmp/windmill/cache
71-
- worker_logs:/tmp/windmill/logs
70+
- worker-dependency-cache:/tmp/windmill/cache
71+
- worker-logs:/tmp/windmill/logs
7272
healthcheck:
73-
test: ["CMD-SHELL", "exit 0"]
73+
test: ["CMD", "curl", "-f", "http://localhost:8000/api/version || exit 1"]
7474
interval: 30s
7575
timeout: 10s
7676
retries: 3
7777

78-
windmill_worker_3:
78+
windmill-worker-3:
7979
image: ghcr.io/windmill-labs/windmill:main
8080
environment:
8181
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -86,15 +86,15 @@ services:
8686
condition: service_healthy
8787
volumes:
8888
- /var/run/docker.sock:/var/run/docker.sock
89-
- worker_dependency_cache:/tmp/windmill/cache
90-
- worker_logs:/tmp/windmill/logs
89+
- worker-dependency-cache:/tmp/windmill/cache
90+
- worker-logs:/tmp/windmill/logs
9191
healthcheck:
92-
test: ["CMD-SHELL", "exit 0"]
92+
test: ["CMD", "curl", "-f", "http://localhost:8000/api/version || exit 1"]
9393
interval: 30s
9494
timeout: 10s
9595
retries: 3
9696

97-
windmill_worker_native:
97+
windmill-worker-native:
9898
image: ghcr.io/windmill-labs/windmill:main
9999
environment:
100100
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -106,17 +106,17 @@ services:
106106
db:
107107
condition: service_healthy
108108
volumes:
109-
- worker_logs:/tmp/windmill/logs
109+
- worker-logs:/tmp/windmill/logs
110110
healthcheck:
111-
test: ["CMD-SHELL", "exit 0"]
111+
test: ["CMD", "curl", "-f", "http://localhost:8000/api/version || exit 1"]
112112
interval: 30s
113113
timeout: 10s
114114
retries: 3
115115

116116
lsp:
117117
image: ghcr.io/windmill-labs/windmill-lsp:latest
118118
volumes:
119-
- lsp_cache:/root/.cache
119+
- lsp-cache:/root/.cache
120120
healthcheck:
121121
test: ["CMD-SHELL", "exit 0"]
122122
interval: 30s

templates/service-templates.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)