Skip to content

Commit d3643de

Browse files
authored
feat(typesense-dashboard): implement Typesense dashboard (#9)
1 parent 101ece0 commit d3643de

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ TYPESENSE_HOST=typesense
8080

8181
ECLIPSE_EMAIL_VERIFICATION=false
8282
PHPMYADMIN_URL="https://pma.${APP_DOMAIN}/"
83+
TYPESENSE_DASHBOARD_URL="http://typesense.${APP_DOMAIN}/"
8384

8485
SETTINGS_CACHE_ENABLED=false
8586

.lando.dist.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
xdebug: "debug,develop,coverage"
1818
overrides:
1919
image: slimdeluxe/php:8.3-v1.3
20+
platform: linux/amd64
2021
build_as_root:
2122
# Copy supervisor configs
2223
- cp -f /app/.lando/*.conf /etc/supervisor/conf.d/
@@ -52,11 +53,27 @@ services:
5253
type: typesense:28.0
5354
portforward: 8108
5455
apiKey: abc
56+
typesense-dashboard:
57+
api: 3
58+
type: lando
59+
app_mount: false
60+
services:
61+
image: ghcr.io/bfritscher/typesense-dashboard:latest
62+
platform: linux/amd64
63+
ports:
64+
- "80"
65+
volumes:
66+
- ./.lando/typesense-dashboard-config.json:/srv/config.json:ro
67+
restart: unless-stopped
68+
user: root
69+
command: caddy file-server --root /srv --listen :80
5570
proxy:
5671
pma:
5772
- pma.eclipse-app.lndo.site
5873
appserver:
5974
- ws.eclipse-app.lndo.site:8080
75+
typesense-dashboard:
76+
- typesense.eclipse-app.lndo.site
6077
events:
6178
post-start:
6279
- sudo service supervisor start
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"apiKey": "abc",
3+
"node": {
4+
"host": "typesense",
5+
"port": "8108",
6+
"protocol": "http",
7+
"path": "",
8+
"tls": false
9+
},
10+
"ui": {
11+
"hideProjectInfo": false
12+
}
13+
}

config/eclipse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
*/
134134
'tools' => [
135135
'phpmyadmin' => env('PHPMYADMIN_URL'),
136+
'typesense_dashboard' => env('TYPESENSE_DASHBOARD_URL'),
136137
],
137138

138139
];

0 commit comments

Comments
 (0)