NSPManager / NSPanelManager

Sonoff NSPanel custom firmware for responsive and intuitive use
https://nspanelmanager.com/
128 stars 10 forks source link

will it work on docker compose #103

Closed 66schoollane closed 8 months ago

66schoollane commented 8 months ago

i looked in the manual and found this

docker run -- name nspanelmanager -v / etc / timezone :/ etc / timezone : ro -v \
" $ ( pwd )/ web / nspanelmanager / db . sqlite3 " : " / usr / src / app / nspanelmanager / db . sqlite3 " \
" $ ( pwd )/ web / nspanelmanager / secret . key " : " / usr / src / app / nspanelmanager / secret . key " \
-d -p 8000:8000 -p 8001:8001 nspanelmanager

so from this & info from docker pull nspanelmanager/nspanelmanager-armv7:latest

how do i do a compose.yaml file, not sure if this start of one is remotely correct, as I need to add more info:

nspanelmanager: image: nspanelmanager/nspanelmanager-armv7:latest container_name: nspanelmanager ports:

thanks

tpanajott commented 8 months ago

There is a section on using docker compose in the advanced section in the manual. Have a look and come back if you have any more questions.

66schoollane commented 8 months ago

Did not see it in this manual https://github.com/NSPManager/NSPanelManager/blob/main/NSPanelManager/web/nspanelmanager/manual.pdf have gone to the correct link

tpanajott commented 8 months ago

We had some problems with publishing the latest release so the updated PDF didn't get copied to the docker container. Check here instead: https://github.com/NSPManager/NSPanelManager/blob/main/docs/tex/manual.pdf

The link to the manual on the README page also points to the above file as that is the file that will be most up to date.

66schoollane commented 8 months ago

@tpanajott Thanks