Sign inSign up

khannurien/nicotine

By khannurien

•Updated about 1 month ago

🚬 Soulseek Docker Container

Image
Networking
Web servers
1

2.9K

khannurien/nicotine repository overview

⁠Nicotine+ Docker Container⁠

šŸ’” This work is essentially a modified version of realies/soulseek-docker⁠

GitHub Actions Workflow Status Docker Build Docker Pulls Docker Image Size

Nicotine+ Docker Container Screenshot

⁠Prerequisites

  • Docker installed on your machine or server
  • Port 6080 open and accessible for noVNC web access (or reverse proxied, nginx example at nicotine.conf)
  • Ports required by Nicotine+ open and forwarded from your router to the Docker host machine

⁠Setup

  1. Map port 6080 on the host machine to port 6080 on the Docker container.
    • If using a GUI or webapp (e.g., Synology) to manage Docker containers, set this configuration option when launching the container from the image.
    • With Docker CLI, use the -p 6080:6080 option.
  2. Map the ports Nicotine+ uses on the Docker container.
    • The first time it runs, Nicotine+ starts up using port 2234. It can also be manually configured in Options -> Network.
    • Map ports both from your router to the machine hosting the Docker image, and from the outside of the Docker image to the server within it.
  3. Launch the Docker container and map the required volumes (see How to Launch⁠ section below).
  4. Access the Nicotine+ UI by opening a web browser and navigating to http://docker-host-ip:6080 or https://reverse-proxy, depending on your configuration.
  5. During initial setup, change the default downloads path to use the mounted volume (/data/downloads).
  6. After initial setup, close the Nicotine+ window to write the configuration file. The application will automatically reopen.

⁠Configuration

The container supports the following configuration options:

ParameterDescription
PGIDGroup ID for the container user (optional, requires PUID, default: 1000)
PUIDUser ID for the container user (optional, requires PGID, default: 1000)
NOVNC_PORTPort for noVNC web access (optional, default: 6080)
UMASKFile permission mask for newly created files (optional, default: 022)
VNCPWDPassword for the VNC connection (optional)
VNCPWD_FILEPassword file for the VNC connection (optional, takes priority over VNCPWD)
TZTimezone for the container (optional, e.g., Europe/Paris, America/Vancouver)

⁠How to Launch

⁠Using Docker Compose
services:
  nicotine:
    platform: linux/amd64
    build: .
    environment:
      - PGID=1000
      - PUID=1000
    ports:
      - 6080:6080
      - 2234:2234
    volumes:
      - config:/data/.config/nicotine
      - data:/data/.local/share/nicotine
      - downloads:/data/downloads
volumes:
  config:
  data:
  downloads:
⁠Using Docker CLI
docker run -d --name nicotine --restart=unless-stopped \
  -v "/persistent/config":"/data/.config/nicotine" \
  -v "/persistent/data":"/data/.local/share/nicotine" \
  -v "/persistent/downloads":"/data/downloads" \
  -e PGID=1000 \
  -e PUID=1000 \
  -p 6080:6080 \
  khannurien/nicotine

Tag summary

Content type

Image

Digest

sha256:af521ca1a…

Size

388.5 MB

Last updated

about 1 month ago

docker pull khannurien/nicotine