Files
goclaw/docker-compose.selfservice.yml

28 lines
840 B
YAML

# Self-service overlay — adds separate nginx web dashboard UI.
#
# OPTIONAL: The default `latest` image already includes an embedded web dashboard
# served at port 18790. Use this overlay only if you need a dedicated nginx
# reverse proxy for SSL termination, custom caching, or load balancing.
#
# Usage:
# docker compose -f docker-compose.yml -f docker-compose.postgres.yml -f docker-compose.selfservice.yml up -d
# # or: make up WITH_WEB_NGINX=1
#
# Dashboard via nginx: http://localhost:3000
services:
goclaw-ui:
image: ghcr.io/nextlevelbuilder/goclaw-web:latest
build:
context: ${GOCLAW_DIR:-.}/ui/web
dockerfile: Dockerfile
ports:
- "${GOCLAW_UI_PORT:-3000}:80"
networks:
- default
- goclaw-net
depends_on:
- goclaw
restart: unless-stopped
stop_signal: SIGTERM