- Updated Dockerfile to build and embed the SvelteKit Web UI directly into the gateway image, eliminating the need for a separate web service. - Modified .dockerignore to exclude unnecessary directories related to the web service. - Adjusted config.compose.yaml to remove CORS settings for the web service, as the UI now shares the same origin as the API. - Enhanced README.md to reflect the new single-port architecture for accessing both the Web UI and API. - Removed the standalone web Dockerfile and updated related documentation for local development and build processes.
11 lines
511 B
YAML
11 lines
511 B
YAML
# Пример для docker compose: без whitelist (только для локальной проверки).
|
|
# На Linux в docker-compose.yml задано extra_hosts host.docker.internal:host-gateway.
|
|
listen: ":8080"
|
|
allow_all: true
|
|
whitelist_cidrs: []
|
|
trusted_proxies: []
|
|
# UI отдаётся с того же порта, что и API (образ шлюза) — отдельный CORS для панели не нужен.
|
|
servers:
|
|
- alias: main_srv
|
|
base_url: http://host.docker.internal:9091
|