@@ -96,7 +96,54 @@ wget -O docker-compose.yaml https://raw.githubusercontent.com/devlikeapro/waha/r
9696touch .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"}
102149docker 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.
114161Refer 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
142189docker compose up -d
143190` ` `
144191
145- 5 . Your WAHA installation is complete.
192+ 7 . Your WAHA installation is complete.
146193Please note that the **containers are not exposed to the internet**, and they only bind to the **localhost**.
147194Set up something like Nginx or any other proxy server to proxy the requests to the container.
148195
0 commit comments