17 lines
472 B
YAML
17 lines
472 B
YAML
services:
|
|
ui:
|
|
image: tensorzero/ui:${TENSORZERO_UI_TAG:-latest}
|
|
build:
|
|
context: ../..
|
|
dockerfile: ui/Dockerfile
|
|
environment:
|
|
TENSORZERO_GATEWAY_URL: ${TENSORZERO_GATEWAY_URL:-http://gateway:3000}
|
|
TENSORZERO_POSTGRES_URL: postgres://postgres:postgres@postgres:5432/tensorzero_ui_fixtures
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "4000:4000"
|
|
restart: unless-stopped
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|