Deploy Andromeda - Posts
A minimal micro blogging app
Just deployed
/data
Deploy and Host Andromeda - Posts on Railway
Andromeda - Posts is a lightweight, self-hosted CMS blog written in Go. It ships an admin dashboard, pages, file uploads, markdown rendering, RSS feeds, a public JSON API, and zip import/export — all backed by a single SQLite database.
About Hosting Andromeda - Posts
Hosting Andromeda - Posts means running a single Go binary that serves both the public blog and the admin interface over HTTP. State lives in a SQLite file and an uploads directory, so deployment is mostly a matter of providing persistent storage and a few environment variables (admin password, site URL, port). Uploads can stay on the local filesystem or offload to Cloudflare R2. On Railway, the included Dockerfile builds the image, a persistent volume holds the database and uploads, and environment variables configure the rest. No external database service is required.
Common Use Cases
- Personal or company blog with a markdown-based admin editor
- Lightweight CMS for static-feeling sites that still need RSS and an API
- Headless content source — consume posts via
GET /api/postsandGET /api/posts/{slug}
Dependencies for Andromeda - Posts Hosting
- A persistent volume for the SQLite database and uploads directory
- (Optional) Cloudflare R2 bucket + credentials for offloaded upload storage
Deployment Dependencies
- Andromeda repository
- Releases page
- Cloudflare R2 (optional uploads backend)
Implementation Details
Environment variables (see .env.example):
POSTS_PASSWORD=changeme # admin login password
POSTS_DB_PATH=/data/posts.sqlite
UPLOADS_DIR=/data/uploads
COOKIE_SECURE=true # set true behind HTTPS
HOST=0.0.0.0
PORT=3000
SITE_URL=https://your-app.up.railway.app
# Optional Cloudflare R2 for uploads (leave R2_BUCKET empty for local files)
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET=
R2_PUBLIC_URL=
Mount a Railway volume at /data so POSTS_DB_PATH and UPLOADS_DIR persist across deploys. Set HOST=0.0.0.0 and COOKIE_SECURE=true in production.
Why Deploy Andromeda - Posts on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Andromeda - Posts on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
SITE_URL
The full URL of your published site, e.g. "example.com." You can update this later.
POSTS_PASSWORD
Password to access the /admin dashboard
