This repo contains the Docker Compose file as well as the Dockerfile for self-hosting Nocturne.
The version of Nocturne used will depend on what the latest commit is in the main
branch for nocturne-ui when the latest commit of the repo was made. I'm not sure of a better way to do this lol sorry
- Copy the contents of
docker-compose.yaml
. - Open up a terminal and navigate to where you saved the file.
- Run
docker compose up
.
- Run
docker pull ghcr.io/angelolz/nocturne-ui:latest
in a terminal. - Run
docker run -d --restart unless-stopped -p 3000:3000 ghcr.io/angelolz/nocturne-ui:latest
.
You can now access the page through http://localhost:3000
. If you want to access it on the Car Thing, read ahead.
- If you're using a Raspberry Pi, SSH into it.
- SSH into your Car Thing using
ssh superbird@192.168.7.2
. The password for it should besuperbird
. - Once inside your Car Thing, run
nano /scripts/chromium_settings.sh
- Edit the URL to your local address (not
localhost
). It should look like this:
# settings for /scripts/start_chromium.sh
URL="http://192.168.xx.xx:3000/"
SCALE="1.0"
#EXTRA_CHROMIUM_ARGS="--incognito"
EXTRA_CHROMIUM_ARGS=""
EXTRA_XORG_ARGS="-nocursor"
- Press
Ctrl-X
to quit,Y
to confirm saving, andEnter
to save to the same file. - Run
sudo reboot
to reboot your Car Thing.
Huge shoutout to the Nocturne team for their amazing work on this app!