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
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>
Copy file name to clipboardExpand all lines: README.md
+25-20Lines changed: 25 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,31 @@ That's it. Once takes care of the rest — including SSL, persistent storage, an
37
37
38
38
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.
39
39
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
+
40
65
### Docker
41
66
42
67
```bash
@@ -190,26 +215,6 @@ bin/rubocop # Lint Ruby
190
215
bin/brakeman --quiet # Security analysis
191
216
```
192
217
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
-
213
218
## License
214
219
215
220
[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