16 lines
841 B
YAML
16 lines
841 B
YAML
# VPS layout: the host nginx (deploy/vps/front.conf) owns 80/443 and proxies
|
|
# to this stack's edge over plain HTTP on 127.0.0.1:8081. The in-compose
|
|
# certbot/TLS from the base file is not used; run certbot on the host.
|
|
#
|
|
# Usage on the VPS (Docker Compose >= 2.24 for !override):
|
|
# cp deploy/vps/docker-compose.override.example.yml docker-compose.override.yml
|
|
# docker compose --profile services --profile edge up -d nginx api worker-extract worker-analyze worker-prescreen worker-notify bot
|
|
|
|
services:
|
|
nginx:
|
|
ports:
|
|
- "127.0.0.1:8081:80"
|
|
volumes:
|
|
# Same target path as the base file's TLS template bind — overrides it,
|
|
# so only ONE template is rendered (both define `upstream api`).
|
|
- ./deploy/nginx/templates/contract-check-http.conf.template:/etc/nginx/templates/contract-check.conf.template:ro
|