Skip to content

Commit c8aa8d3

Browse files
committed
image
fix devlikapro/waha#1891
1 parent 440df47 commit c8aa8d3

3 files changed

Lines changed: 58 additions & 5 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ POST /api/...
3535

3636
## 🧩 Image Tools
3737

38-
Agents can use local CLI tools for image manipulation:
38+
Agents can use local CLI tools for image manipulation:d
3939

4040
- **ImageMagick** (`magick`, `convert`, `mogrify`, `composite`, `montage`)
4141
- **GraphicsMagick** (`gm`)

content/blog/waha-on-docker/index.md

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,54 @@ wget -O docker-compose.yaml https://raw.githubusercontent.com/devlikeapro/waha/r
9696
touch .env
9797
```
9898

99-
3. Generate a `.env` file that we'll use in the next step for credentials:
99+
3. Pick the image in `docker-compose.yaml` before running `init-waha`:
100+
101+
{{< tabs "docker-compose-image-core-plus" >}}
102+
{{< tab "WAHA Core" >}}
103+
If you don't have [**➕ WAHA Plus**]({{< relref "/docs/how-to/waha-plus" >}}), make sure you have this image in `docker-compose.yaml`:
104+
105+
```yaml {title="docker-compose.yaml" hl_lines=4}
106+
services:
107+
waha:
108+
restart: always
109+
image: devlikeapro/waha
110+
```
111+
{{< /tab >}}
112+
113+
{{< tab "➕ WAHA Plus" >}}
114+
If you have [**➕ WAHA Plus**]({{< relref "/docs/how-to/waha-plus" >}}), make sure you have this image in `docker-compose.yaml`:
115+
116+
```yaml {title="docker-compose.yaml" hl_lines=4}
117+
services:
118+
waha:
119+
restart: always
120+
image: devlikeapro/waha-plus
121+
```
122+
{{< /tab >}}
123+
124+
{{< tab "WAHA (ARM)" >}}
125+
If you're using ARM (Apple Silicon, Raspberry Pi, etc.), make sure you have this image in `docker-compose.yaml`:
126+
127+
```yaml {title="docker-compose.yaml" hl_lines=4}
128+
services:
129+
waha:
130+
restart: always
131+
image: devlikeapro/waha:arm
132+
```
133+
134+
If you have [**➕ WAHA Plus**]({{< relref "/docs/how-to/waha-plus" >}}) on ARM, use:
135+
```yaml {title="docker-compose.yaml" hl_lines=4}
136+
services:
137+
waha:
138+
restart: always
139+
image: devlikeapro/waha-plus:arm
140+
```
141+
{{< /tab >}}
142+
{{< /tabs >}}
143+
144+
<hr>
145+
146+
4. Generate a `.env` file that we'll use in the next step for credentials:
100147

101148
```bash {title="Init WAHA"}
102149
docker compose run --no-deps -v "$(pwd)":/app/env waha init-waha /app/env
@@ -110,7 +157,7 @@ Remember these values (you can always check the `.env` file if you forget them):
110157

111158
👉 You can change variables to any values, but use **long random strings** (like **UUIDv4**)
112159

113-
4. Tweak the `.env` and `docker-compose.yaml` according to your preferences.
160+
5. Tweak the `.env` and `docker-compose.yaml` according to your preferences.
114161
Refer to the available environment variables in [**⚙️ Configuration**]({{< relref "/docs/how-to/config" >}}).
115162

116163
```bash
@@ -137,12 +184,12 @@ uuidgen | tr -d '-'
137184
{{< /callout >}}
138185

139186

140-
4. Get the service up and running.
187+
6. Get the service up and running.
141188
```bash
142189
docker compose up -d
143190
```
144191

145-
5. Your WAHA installation is complete.
192+
7. Your WAHA installation is complete.
146193
Please note that the **containers are not exposed to the internet**, and they only bind to the **localhost**.
147194
Set up something like Nginx or any other proxy server to proxy the requests to the container.
148195

hugo_stats.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,12 @@
11711171
"tabs-dns-aliases-1-tab",
11721172
"tabs-dns-aliases-2",
11731173
"tabs-dns-aliases-2-tab",
1174+
"tabs-docker-compose-image-core-plus-0",
1175+
"tabs-docker-compose-image-core-plus-0-tab",
1176+
"tabs-docker-compose-image-core-plus-1",
1177+
"tabs-docker-compose-image-core-plus-1-tab",
1178+
"tabs-docker-compose-image-core-plus-2",
1179+
"tabs-docker-compose-image-core-plus-2-tab",
11741180
"tabs-docker-image-0",
11751181
"tabs-docker-image-0-tab",
11761182
"tabs-docker-image-1",

0 commit comments

Comments
 (0)