You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "${BLUE}☑ Read README.md for full instructions!${NC}\n"
echo -e "${YELLOW}Note: First start will take 10-20 minutes to build.${NC}\n"
---
## ☑ How to Use This Package
### Option 1: Run the Setup Script (Recommended)
1. Copy the entire script above and save as `setup-sonosano.sh`.
2. Make it executable and run it:
```bash
chmod +x setup-sonosano.sh
./setup-sonosano.sh
```
This creates the `sonosano-docker/` folder with everything inside!
### Option 2: Download as ZIP
If you want to distribute this, you could create all files manually:
```bash
# Create the structure
mkdir sonosano-docker
cd sonosano-docker
# Create each file (copy content from the script above)
# - docker-compose.yml
# - .env
# - start.sh
# - stop.sh
# - logs.sh
# - update.sh
# - README.md
# Make scripts executable
chmod +x *.sh
# Create ZIP
cd ..
zip -r sonosano-docker.zip sonosano-docker/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
DOCKER COMPOSE Instruction by Felix
Here's everything in one compact, downloadable package. Just copy-paste this entire script and run it:
☑ One-Command Sonosano Setup Package
Save this as
setup-sonosano.shand run it:2. Start Sonosano
First time: Takes 10-20 minutes to build
After that: Starts in ~30 seconds
3. Access Sonosano
Open browser:
http://localhost:8000☑ Configuration
Edit
.envfile to customize:Change port (if 8000 is taken)
Change storage location
Set your timezone
Then restart:
./stop.sh && ./start.sh☑ Remote Access (Cloudflare Tunnel)
.env:docker-compose.yml- uncommentcloudflaredsection./start.sh☑ Commands
☑ Manual Commands
Start
Stop
Restart
View logs
Shell access
docker exec -it sonosano bash☑ Directory Structure
☑ Troubleshooting
Port already in use:
Edit
.envSONOSANO_PORT=8001Permission denied:
Won't start:
./logs.sh # Check for errorsReset everything:
./stop.sh docker compose down -v # ⚠ Deletes music! rm -rf music data soulseek downloads ./start.sh☑ Backup
Backup music
tar -czf sonosano-backup-$(date +%Y%m%d).tar.gz music/Restore
☑ Resources
☑ Enjoy!
Questions? Issues? Open a GitHub issue!
README_EOF
echo -e "${GREEN}√${NC} Created README.md\n"
=========================================
Final message
=========================================
echo -e "${GREEN}=======================================================${NC}"
echo -e "${GREEN}|| ✓ Setup Complete! ||${NC}"
echo -e "${GREEN}=======================================================${NC}\n"
echo -e "${BLUE}☑ Package created in:${YELLOW}$ (pwd)${NC}\n"
echo -e "${BLUE}☑ Files created:${NC}"
echo -e " docker-compose.yml"
echo -e " .env"
echo -e " start.sh"
echo -e " stop.sh"
echo -e " logs.sh"
echo -e " update.sh"
echo -e " README.md\n"
echo -e "${BLUE}☑ To start Sonosano:${NC}"
echo -e " ${GREEN}cd sonosano-docker${NC}"
echo -e " ${GREEN}./start.sh${NC}\n"
echo -e "${BLUE}☑ Read README.md for full instructions!${NC}\n"
echo -e "${YELLOW}Note: First start will take 10-20 minutes to build.${NC}\n"
☑ What Users Get
One folder (
sonosano-docker/) containing:Users only need to:
./start.shThat's it! ☑
Everything is self-contained, documented, and beginner-friendly
Beta Was this translation helpful? Give feedback.
All reactions