Initial commit: Nicotine-Less Docker container
Lightweight Docker container for Nicotine+ with noVNC web interface and Firefox ESR browser. Features: - noVNC web interface with dynamic resize support - Firefox ESR for testing ports and browsing - TigerVNC with AcceptSetDesktopSize enabled - Supervisor for process management - Configurable user/group permissions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
60
docker-compose.yml.example
Normal file
60
docker-compose.yml.example
Normal file
@@ -0,0 +1,60 @@
|
||||
services:
|
||||
nicotine-less:
|
||||
build: .
|
||||
container_name: nicotine-less
|
||||
image: nicotine-less:latest
|
||||
restart: unless-stopped
|
||||
|
||||
# Porte
|
||||
ports:
|
||||
- "6080:6080" # Interfaccia web noVNC
|
||||
- "2234:2234" # Porta Soulseek TCP
|
||||
- "2235:2235/udp" # Porta Soulseek UDP
|
||||
|
||||
# Variabili d'ambiente
|
||||
environment:
|
||||
- PUID=1000 # User ID (cambia se necessario)
|
||||
- PGID=1000 # Group ID (cambia se necessario)
|
||||
- TZ=Europe/Rome # Timezone
|
||||
- VNC_RESOLUTION=1920x1080 # Risoluzione desktop
|
||||
- VNC_DEPTH=24 # Profondità colore
|
||||
- VNC_PASSWORD=nicotine # Password per VNC (opzionale)
|
||||
- DISPLAY=:0
|
||||
|
||||
# Volumi persistenti
|
||||
volumes:
|
||||
# Configurazione Nicotine+ (database, settings, liste utenti, ecc)
|
||||
- ./data/config:/config
|
||||
|
||||
# Download completati - MODIFICA CON IL TUO PERCORSO
|
||||
- /path/to/your/downloads:/downloads
|
||||
|
||||
# Download incompleti/in corso - MODIFICA CON IL TUO PERCORSO
|
||||
- /path/to/your/incomplete:/incomplete
|
||||
|
||||
# Opzionale: cartelle condivise aggiuntive - MODIFICA CON I TUOI PERCORSI
|
||||
# - /path/to/your/music:/shares/music:ro
|
||||
# - /path/to/your/other:/shares/other:ro
|
||||
|
||||
# Limiti risorse (opzionale, utile per Raspberry Pi)
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1G
|
||||
cpus: '2'
|
||||
reservations:
|
||||
memory: 256M
|
||||
|
||||
# Network
|
||||
network_mode: bridge
|
||||
|
||||
# Privileged mode non necessario
|
||||
privileged: false
|
||||
|
||||
# Healthcheck
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:6080"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
Reference in New Issue
Block a user