Skip to content

Commit 2a98e61

Browse files
committed
Updated manual with docker-compose example
1 parent 54c9e31 commit 2a98e61

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

tex/manual.pdf

1.16 KB
Binary file not shown.

tex/manual.tex

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@
177177
The following has to be done in order to get a fully working container:
178178
\begin{itemize}
179179
\item Navigate to the web interface. If the port was not changed it is available at port \textbf{8000}.
180+
\item Navigate to the "Settings"-page.
180181
\item Enter MQTT server.
181182
\note{If you are running the MQTT server as an add-on to Home Assistant, enter the IP-address of your Home Assistant server.}
182183
\item Enter MQTT port if changed from default \textbf{1883}.
@@ -436,6 +437,26 @@
436437
If you wish to change the timezone, there are two options. Either, do as the command above, pass in the local machine /etc/timezone. This might not always work though as your server might be set to Etc/UTC then you can set the TZ-environment variable, for example: \lstinline[language=bash]{-e TZ=Europe/Stockholm} and remove the volume mapping for /etc/timezone.
437438
\important{All data for NSPanel Manager is stored in the directory mapped to "/data" in the container. In this case, the "data"-directory where you are currently standing.}
438439

440+
441+
\subsection{Docker-compose container setup}
442+
If you wish to run NSPanel manager from docker compose you can use the below example as a template for your setup.
443+
\note{This example is for an x86\_64 machine placed in the Europe/Stockholm timezone. Replace image name and timezone as needed.}
444+
\begin{lstlisting}
445+
services:
446+
nspanelmanager:
447+
image: nspanelmanager/nspanelmanager-amd64
448+
container_name: nspanelmanager
449+
environment:
450+
- TZ=Europe/Stockholm
451+
volumes:
452+
- /nspmdata/:/data/
453+
ports:
454+
- 8000:8000
455+
- 8001:8001
456+
restart: always
457+
\end{lstlisting}
458+
\important{All data for NSPanel Manager is stored in the directory mapped to "/data" in the container. In this case, the "/nspmdata/"-directory where you are currently standing.}
459+
439460
\clearpage
440461
\section{Functional information}
441462
\subsection{Software components}

0 commit comments

Comments
 (0)