Skip to content

Commit bb850f4

Browse files
authored
docs: ECS log format JSON (windmill-labs#462)
1 parent f2fb6dc commit bb850f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/advanced/1_self_host/aws_ecs.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ We will create 6 tasks definitions here:
109109
- Essential container: YES
110110
- Port mapping: 8000 / TCP / http / HTTP
111111
- Resource allocation: 1 CPU / 1.5 GiB memory
112-
- Environment variable: `MODE=server` and `DATABASE_URL=postgres://postgres:<DB_PASSWORD>@<DB_HOSTNAME>:5432/windmill`. Replace the hostname and password with the ones from the RDS database your created above
112+
- Environment variable: `JSON_FMT=true`, `MODE=server` and `DATABASE_URL=postgres://postgres:<DB_PASSWORD>@<DB_HOSTNAME>:5432/windmill`. Replace the hostname and password with the ones from the RDS database your created above
113113
- Turn on log collection for easy debugging
114114
- Add the following health check: `CMD-SHELL, curl -f http://localhost:8000/api/version || exit 1` / 10s interval / 5s timeout and 5 retries
115115
- Leave the rest default
@@ -129,7 +129,7 @@ We will create 6 tasks definitions here:
129129
- Essential container: YES
130130
- Port mapping: No port mapping for workers
131131
- Resource allocation: 2 CPU / 3.5 GiB memory
132-
- Environment variable: `MODE=worker`, `WORKER_GROUP=default` and `DATABASE_URL=postgres://postgres:<DB_PASSWORD>@<DB_HOSTNAME>:5432/windmill`
132+
- Environment variable: `JSON_FMT=true`, `MODE=worker`, `WORKER_GROUP=default` and `DATABASE_URL=postgres://postgres:<DB_PASSWORD>@<DB_HOSTNAME>:5432/windmill`
133133
- TODO: elaborate on volumes
134134
- Turn on log collection for easy debugging
135135
- This is it, leave the rest default
@@ -149,7 +149,7 @@ We will create 6 tasks definitions here:
149149
- Essential container: YES
150150
- Port mapping: no port mapping for workers
151151
- Resource allocation: 2 CPU / 3.5 GiB memory
152-
- Environment variable: `MODE=worker`, `WORKER_GROUP=native` and `DATABASE_URL=postgres://postgres:<DB_PASSWORD>@<DB_HOSTNAME>:5432/windmill`
152+
- Environment variable: `JSON_FMT=true`, `MODE=worker`, `WORKER_GROUP=native` and `DATABASE_URL=postgres://postgres:<DB_PASSWORD>@<DB_HOSTNAME>:5432/windmill`
153153
- TODO: elaborate on volumes
154154
- Turn on log collection for easy debugging
155155
- This is it, leave the rest default
@@ -169,7 +169,7 @@ We will create 6 tasks definitions here:
169169
- Essential container: YES
170170
- Port mapping: 3001 / TCP / http / HTTP
171171
- Resource allocation: 1 CPU / 1.5 GiB memory
172-
- Environment variable: No env variable
172+
- Environment variable: `JSON_FMT=true`,
173173
- TODO: elaborate on volumes
174174
- Turn on log collection for easy debugging
175175
- This is it, leave the rest default
@@ -189,7 +189,7 @@ We will create 6 tasks definitions here:
189189
- Essential container: YES
190190
- Port mapping: 3002 / TCP / http / HTTP
191191
- Resource allocation: 1 CPU / 1.5 GiB memory
192-
- Environment variable: No env variable
192+
- Environment variable: `JSON_FMT=true`
193193
- Turn on log collection for easy debugging
194194
- This is it, leave the rest default
195195

0 commit comments

Comments
 (0)