Server setup
System Requirements
Section titled “System Requirements”- 64-bit Intel, AMD or ARM machine (a Raspberry Pi 4 or 5 works)
- Computer/server that will remain powered on
- Docker and the Compose plugin must be installed
- A domain that points at the host
- Firewall must allow incoming connections on ports 80 and 443
Install
Section titled “Install”curl -fsSLO https://raw.githubusercontent.com/Shackworks/shackworks/main/install/install.shbash install.shThe script checks Docker, asks for a domain, writes .env, starts the stack and prints a one-time setup token. It never changes the firewall and never overwrites an existing .env or compose file, so you can run it again safely. --help lists the options, and --from <folder> installs from local files.
To install by hand, copy install/compose.yaml, Caddyfile and .env.example (as .env) to the host and set SITE_ADDRESS. Then run docker compose up -d and read the token from docker compose logs app.
Behind an existing web server
Section titled “Behind an existing web server”bash install.sh --name club-main --behind-proxy 8180 --panel-port 8081Caddy then listens on 127.0.0.1:8180 over plain http. Point your web server at that address and proxy everything to it. Pass the Upgrade headers for /api/ws and /api/radio/bridge, and set X-Forwarded-For and X-Forwarded-Proto. Each install on the same host needs its own folder, --name, port and --panel-port. An install uses its port and the next one.
Hosting panel
Section titled “Hosting panel”The hosting panel listens on 127.0.0.1:8080 and is never routed through Caddy. To reach it from your own computer, open an SSH tunnel:
ssh -L 8080:127.0.0.1:8080 you@your-serverYou can also set PANEL_BIND to the address of a private network, such as Tailscale.
Setup wizard
Section titled “Setup wizard”Once you have the setup token, visit the panel at port 8080 on the computer. If you are using a tunnel, then you will need to configure and use that properly.
You will then be prompted for a setup token and the new panel password.
After setting the password, you will be able to log in and configure the instance. You will be asked which authentication provider you want to use. If you are using Clerk then see Clerk.
You will also be asked to seed your first administrator. Enter the email address that the first admin will register with.
Once you have configured the instance, then you can create an account under that seeded email address and log in.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause |
|---|---|
| Docker is not usable | Your user is not in the docker group. |
up hangs, then reports unhealthy |
Read docker compose logs app. A fresh install waits for the wizard and counts as healthy. |
| Certificate error | DNS does not point at the host, or ports 80 and 443 are blocked. Read docker compose logs caddy. |
| The panel is unreachable | The tunnel is closed, or PANEL_BIND and PANEL_PORT differ from what you expect. |
| The token is invalid or expired | Run docker compose restart app, then read the new token. |
| Five wrong panel passwords | The panel locks you out for 15 minutes. |
| Clerk error at sign-in | The keys belong to another Clerk application, or the secret key has a stray space. |
| Cross-site request refused (built-in sign-in) | The address in the browser differs from the configured public address. |
| The app restarts in a loop | The panel’s Status page shows the cause and the last log lines. |