Skip to content

Commit 5dadd1b

Browse files
committed
changelog: Otoroshi set domains
1 parent b8ddfbd commit 5dadd1b

File tree

2 files changed

+53
-2
lines changed

2 files changed

+53
-2
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Set Otoroshi admin and routes domains at creation
3+
description: You can now set custom domains for Otoroshi admin interface and routes when creating the add-on on Clever Cloud
4+
date: 2025-12-28
5+
tags:
6+
- addons
7+
- otoroshi
8+
authors:
9+
- name: Sébastien Allemand
10+
link: https://github.com/allemas
11+
image: https://github.com/allemas.png?size=40
12+
- name: David Legrand
13+
link: https://github.com/davlgd
14+
image: https://github.com/davlgd.png?size=40
15+
excludeSearch: true
16+
---
17+
18+
When you deploy an Otoroshi add-on on Clever Cloud, you can access its admin interface through a `<random_chars>-otoroshi.services.clever-cloud.com` domain. When you create a new route, it starts with a `app-id.cleverapps.io`. You can now set custom domains at creation through the `base-domain` and `routes-domain` options in Clever Tools:
19+
20+
```bash
21+
clever addon create otoroshi myOtoroshiName --option base-domain=otoroshi.example.com --option routes-domain=routes.example.com
22+
```
23+
24+
These domains' DNS configuration needs to point to Clever Cloud's servers. For example, if the Otoroshi add-on is deployed in the `par` (Paris) region, you need to create CNAME records pointing to `domain.par.clever-cloud.com.`.
25+
26+
- [Learn more about Otoroshi on Clever Cloud](/doc/addons/otoroshi/)
27+
- [Learn more about DNS and custom domains on Clever Cloud](/doc/administrate/domain-names/)

content/doc/addons/otoroshi.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,29 @@ An initial account has been created, change the password at first login (Securit
5555
Learn more about Otoroshi with LLM on Clever Cloud: https://www.clever.cloud/developers/doc/addons/otoroshi/
5656
```
5757

58+
By default we use Clever Cloud's domain names for both the admin interface and the routes you'll manage through Otoroshi, but you can set custom domains at creation through the `base-domain` and `routes-domain` options that you can use independently:
59+
60+
```bash
61+
clever addon create otoroshi myOtoroshiName --option base-domain=otoroshi.example.com
62+
clever addon create otoroshi myOtoroshiName2 --option routes-domain=routes.example.com
63+
clever addon create otoroshi myOtoroshiName3 --option base-domain=otoroshi.example.com --option routes-domain=routes.example.com
64+
```
65+
66+
These domains' DNS configuration needs to point to Clever Cloud's servers. For example, if the Otoroshi add-on is deployed in the `par` (Paris) region, you need to create CNAME records pointing to `domain.par.clever-cloud.com.`.
67+
5868
Refer to the [Clever Tools documentation](/doc/cli/addons/) for more details on add-on management.
5969

70+
> [!TIP] Routes management
71+
> When you create routes in Otoroshi, they will use the routes domain you set at creation, or `app-id.cleverapps.io`. But you can add as many custom domains as you need on the underlying Java application and use them in Otoroshi routes.
72+
6073
## Version management
6174

6275
To change the version of an Otoroshi add-on on Clever Cloud, you can use the `CC_OTOROSHI_VERSION` environment variable of its Java Application and rebuild it. But there are various ways to do it simpler with [Clever Tools](/doc/cli/):
6376

6477
```bash
6578
# Set a specific supported version at creation
66-
clever addon create otoroshi --addon-version <version> myOtoroshi
79+
# You can add options to set base or routes domains if needed
80+
clever addon create otoroshi myOtoroshi --addon-version <version>
6781

6882
# Enable Operators commands
6983
clever features enable operators
@@ -81,7 +95,17 @@ clever otoroshi version update myOtoroshi <new_version>
8195

8296
## Accessing the Otoroshi with LLM interface
8397

84-
Once you created your add-on, open the management URL or look for `CC_OTOROSHI_URL` value in the Otoroshi with LLM dashboard from the Console. The first time you connect, change the initial password (Security -> Administrators -> Edit user).
98+
Once you created your add-on, open the management URL in the Otoroshi with LLM dashboard from the Console. You can also use Clever Tools to open Java underlying application logs or the Otoroshi web UI directly:
99+
100+
```bash
101+
# Enable Operators commands
102+
clever features enable operators
103+
104+
clever otoroshi open logs myOtoroshi
105+
clever otoroshi open webui myOtoroshi
106+
```
107+
108+
The first time you connect, change the initial password (Security -> Administrators -> Edit user).
85109

86110
* [Learn how to use Otoroshi](https://maif.github.io/otoroshi/manual/how-to-s/index.html)
87111

0 commit comments

Comments
 (0)