@@ -9,7 +9,7 @@ services:
9
9
image : postgres:16
10
10
shm_size : 1g
11
11
volumes :
12
- - db_data :/var/lib/postgresql/data
12
+ - db-data :/var/lib/postgresql/data
13
13
environment :
14
14
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
15
15
- POSTGRES_DB=${POSTGRES_DB:-windmill}
@@ -19,7 +19,7 @@ services:
19
19
timeout : 5s
20
20
retries : 5
21
21
22
- windmill_server :
22
+ windmill-server :
23
23
image : ghcr.io/windmill-labs/windmill:main
24
24
environment :
25
25
- SERVICE_FQDN_WINDMILL_8000
@@ -30,14 +30,14 @@ services:
30
30
db :
31
31
condition : service_healthy
32
32
volumes :
33
- - worker_logs :/tmp/windmill/logs
33
+ - worker-logs :/tmp/windmill/logs
34
34
healthcheck :
35
- test : ["CMD", "curl", "-f", "http://localhost:8000/health "]
35
+ test : ["CMD", "curl", "-f", "http://localhost:8000/api/version || exit 1 "]
36
36
interval : 30s
37
37
timeout : 10s
38
38
retries : 3
39
39
40
- windmill_worker_1 :
40
+ windmill-worker-1 :
41
41
image : ghcr.io/windmill-labs/windmill:main
42
42
environment :
43
43
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -48,15 +48,15 @@ services:
48
48
condition : service_healthy
49
49
volumes :
50
50
- /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
53
53
healthcheck :
54
- test : ["CMD-SHELL ", "exit 0 "]
54
+ test : ["CMD", "curl", "-f ", "http://localhost:8000/api/version || exit 1 "]
55
55
interval : 30s
56
56
timeout : 10s
57
57
retries : 3
58
58
59
- windmill_worker_2 :
59
+ windmill-worker-2 :
60
60
image : ghcr.io/windmill-labs/windmill:main
61
61
environment :
62
62
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -67,15 +67,15 @@ services:
67
67
condition : service_healthy
68
68
volumes :
69
69
- /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
72
72
healthcheck :
73
- test : ["CMD-SHELL ", "exit 0 "]
73
+ test : ["CMD", "curl", "-f ", "http://localhost:8000/api/version || exit 1 "]
74
74
interval : 30s
75
75
timeout : 10s
76
76
retries : 3
77
77
78
- windmill_worker_3 :
78
+ windmill-worker-3 :
79
79
image : ghcr.io/windmill-labs/windmill:main
80
80
environment :
81
81
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -86,15 +86,15 @@ services:
86
86
condition : service_healthy
87
87
volumes :
88
88
- /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
91
91
healthcheck :
92
- test : ["CMD-SHELL ", "exit 0 "]
92
+ test : ["CMD", "curl", "-f ", "http://localhost:8000/api/version || exit 1 "]
93
93
interval : 30s
94
94
timeout : 10s
95
95
retries : 3
96
96
97
- windmill_worker_native :
97
+ windmill-worker-native :
98
98
image : ghcr.io/windmill-labs/windmill:main
99
99
environment :
100
100
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@db/windmill
@@ -106,17 +106,17 @@ services:
106
106
db :
107
107
condition : service_healthy
108
108
volumes :
109
- - worker_logs :/tmp/windmill/logs
109
+ - worker-logs :/tmp/windmill/logs
110
110
healthcheck :
111
- test : ["CMD-SHELL ", "exit 0 "]
111
+ test : ["CMD", "curl", "-f ", "http://localhost:8000/api/version || exit 1 "]
112
112
interval : 30s
113
113
timeout : 10s
114
114
retries : 3
115
115
116
116
lsp :
117
117
image : ghcr.io/windmill-labs/windmill-lsp:latest
118
118
volumes :
119
- - lsp_cache :/root/.cache
119
+ - lsp-cache :/root/.cache
120
120
healthcheck :
121
121
test : ["CMD-SHELL", "exit 0"]
122
122
interval : 30s
0 commit comments