Install on a Server
Run Locally (to Test)
Want to kick the tires before committing to a server? You can run the whole platform on your own computer. It's perfect for evaluating Astrodock or developing apps. Just remember it's only reachable from your machine, so it's not a real, shareable install.
Self-Hosted Only
To have a server run for you instead, see Astrodock Cloud.
This Is for Trying It, Not for Real Use
A local install has no public address and no real HTTPS. When you're ready to put apps online, follow DigitalOcean or your own server / any VPS.
-
Install Docker Desktop
Get Docker Desktop for Mac or Windows (on Linux, Docker Engine is fine) and start it. Confirm it works:
docker compose version -
Get Astrodock
Clone the repository (locally you probably want the source anyway):
git clone https://github.com/astrodock/astrodock.git cd astrodock -
Configure for Local: One Command
This generates a local
.env(localhost, plain HTTP) with every secret filled in. It asks nothing:./scripts/setup.sh --local -
Start It
docker compose up -dThis pulls the prebuilt images. To build from your working copy instead (which is what you want if you're changing Astrodock itself):
docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build(Tip:
./scripts/setup.sh --local --upconfigures and starts in one go.) -
Create Your Account and Open the Dashboard
Go to http://admin.localhost. On a fresh install you'll get the setup wizard, which asks for a one-time token printed in the log:
docker compose logs api | grep -A2 'first-run setup'Paste it, pick an email and password, and you're in. Because
--localalready set the domain, the wizard skips straight past the domain step. Your apps will live athttp://<subdomain>.localhost.Why
.localhostJust WorksBrowsers automatically resolve any
*.localhostname to your own computer, soadmin.localhostandnotes.localhostwork with no DNS or hosts-file changes.
Stopping & Cleaning Up
docker compose down # stop the stack (keeps your data)
docker compose down -v # stop AND delete all data (fresh start)
What's Next
- Deploy Your First App → (works the same locally)
- Ready for real? DigitalOcean or any server