From c1ae25384cabab887f04c06748a6d49cd724d060 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Fri, 22 May 2020 16:11:21 +0200
Subject: [PATCH] Doc open ports.

---
 docs/installation-production.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/docs/installation-production.md b/docs/installation-production.md
index 47d3e13c..dcd0b3fc 100644
--- a/docs/installation-production.md
+++ b/docs/installation-production.md
@@ -183,6 +183,19 @@ Ensure that the Liquidsoap installation path is valid:
 liquidsoap_path="/home/engineuser/.opam/4.08.0/bin/liquidsoap"
 ```
 
+**Configuring the API Server**
+
+Set the correct IP in `/opt/aura/engine/configuration# nano gunicorn.conf.py` and
+the exposed `exposed_api_url` in `engine.ini`.
+
+Also open the `api_port` defined in `engine.ini` in your `iptables` (Default is 3333)
+
+```shell
+iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 3333 -j ACCEPT
+```
+
+**Configuring the Audio Store**
+
 Finally Engine needs to be able to access the audio folder, where all the tracks of the playlists
 are stored via *Tank*:
 
-- 
GitLab