Skip to content

Commit 85f8ee9

Browse files
smgdkngtclaude
andcommitted
Move Kamal to second self-hosting option in README
Once → Kamal → Docker → Docker Compose, ordered by ease of use. Kamal gives the complete experience with SSL and LiveKit accessory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9a1c8c2 commit 85f8ee9

File tree

1 file changed

+25
-20
lines changed

1 file changed

+25
-20
lines changed

README.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,31 @@ That's it. Once takes care of the rest — including SSL, persistent storage, an
3737

3838
All tools work out of the box except the Room (video) tool, which requires an external [LiveKit](https://livekit.io) server. Once runs a single container per app, so LiveKit needs to run separately — either via [LiveKit Cloud](https://livekit.io/cloud) or as a standalone Docker container. See [Video conferencing](#video-conferencing-livekit) for setup.
3939

40+
### Deploy with Kamal
41+
42+
For the complete experience — SSL, zero-downtime deploys, LiveKit as an accessory — use [Kamal](https://kamal-deploy.org). All you need is a VPS with Ubuntu.
43+
44+
```bash
45+
git clone https://github.com/smgdkngt/dobase.git
46+
cd dobase
47+
```
48+
49+
Edit `config/deploy.yml` with your server IP and domain, then add secrets to `.kamal/secrets`:
50+
51+
```bash
52+
# .kamal/secrets
53+
SECRET_KEY_BASE=<generate with: bin/rails secret>
54+
SMTP_USERNAME=your-smtp-user
55+
SMTP_PASSWORD=your-smtp-password
56+
```
57+
58+
```bash
59+
kamal setup # First deploy — provisions server, builds image, starts app
60+
kamal deploy # Subsequent deploys
61+
```
62+
63+
Kamal handles SSL certificates (Let's Encrypt), asset bridging, and rolling restarts automatically. LiveKit can run as a Kamal accessory — uncomment the `livekit` section in `config/deploy.yml`.
64+
4065
### Docker
4166

4267
```bash
@@ -190,26 +215,6 @@ bin/rubocop # Lint Ruby
190215
bin/brakeman --quiet # Security analysis
191216
```
192217

193-
## Deployment with Kamal
194-
195-
For production deployments with SSL and zero-downtime deploys, Dobase ships with [Kamal](https://kamal-deploy.org) support.
196-
197-
Edit `config/deploy.yml` with your server IP and domain, add secrets to `.kamal/secrets`:
198-
199-
```bash
200-
# .kamal/secrets
201-
SECRET_KEY_BASE=<generate with: bin/rails secret>
202-
SMTP_USERNAME=your-smtp-user
203-
SMTP_PASSWORD=your-smtp-password
204-
```
205-
206-
Then deploy:
207-
208-
```bash
209-
kamal setup # First deploy
210-
kamal deploy # Subsequent deploys
211-
```
212-
213218
## License
214219

215220
[O'Saasy License](LICENSE.md) — MIT-style with SaaS restriction. Free to use, modify, and self-host. Cannot be offered as a competing hosted service.

0 commit comments

Comments
 (0)