To start that way, get the latest [docker-compose.yml](https://tigase.dev/tigase/_server/tigase-server/~raw/master/src/main/docker/docker-compose.yml?disposition=ATTACHMENT) from the repository:
and start the server (adding `-d` option will run it as daemon):
skipped 2 lines
252
252
docker compose up
253
253
```
254
254
255
-
NOTE: Optional CoTURN server for TURN/STUN can be enabled by enabling `coturn` profile: `--profil coturn`:
255
+
Afterward, please continue in web browser using web installer by opening http://localhost:8080.
256
256
257
-
```shell
258
-
docker compose --profile coturn up
259
-
```
260
-
261
-
Afterward, please continue in web browser using web installer by opening http://localhost:8080
262
257
263
258
> **_NOTE_**: on the _"Basic Tigase server configuration"_ screen please select `MySQL` as Database
264
259
265
260
> **_NOTE_**: on the _"Database configuration"_ screen please set "Address of the database instance" to `db`
266
261
267
262
> **_NOTE_**: on the _"Database configuration"_ screen please set _"Database root user credentials"_ to the ones from `docker-compose.yaml` file
263
+
264
+
When finished with the setup restart the server - if you started it as stated above just hit ctrl+c and re-run `docker compose up`, otherwise if started as daemon just restart the xmpp service: `docker compose restart xmpp`
265
+
266
+
#### CoTURN for audio/video calls
267
+
268
+
> **_NOTE_**: Optional CoTURN server for TURN/STUN can be enabled by enabling `coturn` profile: `--profil coturn`:
269
+
270
+
```shell
271
+
docker compose --profile coturn up
272
+
```
273
+
274
+
In that case you should configure external component discovery as described in [Using STUN & TURN server with Tigase XMPP Server with XEP-0215 (External Service Discovery) ](https://tigase.org/blog/tigase-server-with-stun-turn/)