feat: add cameleer3-server-ui container to Docker Compose
The cameleer3-server deploys backend and UI as separate containers. Add the cameleer3-server-ui image (nginx SPA + API reverse proxy) to the Compose stack, exposed on port 8082 in dev. Update sidebar "View Dashboard" link to point to the UI container. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,10 @@ services:
|
||||
ports:
|
||||
- "8081:8081"
|
||||
|
||||
cameleer3-server-ui:
|
||||
ports:
|
||||
- "8082:80"
|
||||
|
||||
clickhouse:
|
||||
ports:
|
||||
- "8123:8123"
|
||||
|
||||
@@ -159,6 +159,17 @@ services:
|
||||
networks:
|
||||
- cameleer
|
||||
|
||||
cameleer3-server-ui:
|
||||
image: ${CAMELEER3_SERVER_UI_IMAGE:-gitea.siegeln.net/cameleer/cameleer3-server-ui}:${VERSION:-latest}
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
cameleer3-server:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
CAMELEER_API_URL: http://cameleer3-server:8081
|
||||
networks:
|
||||
- cameleer
|
||||
|
||||
clickhouse:
|
||||
image: clickhouse/clickhouse-server:latest
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -162,7 +162,7 @@ export function Layout() {
|
||||
<Sidebar.FooterLink
|
||||
icon={<ObsIcon />}
|
||||
label="View Dashboard"
|
||||
onClick={() => window.open('http://localhost:8081', '_blank', 'noopener')}
|
||||
onClick={() => window.open('http://localhost:8082', '_blank', 'noopener')}
|
||||
/>
|
||||
|
||||
{/* User info + logout */}
|
||||
|
||||
Reference in New Issue
Block a user