17 lines
941 B
YAML
17 lines
941 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: !override
|
|
- "127.0.0.1:8081:80"
|
|
volumes: !override
|
|
# Shadows the TLS template baked into the image (deploy/nginx/Dockerfile)
|
|
# at the same target path, so only ONE template is rendered (both define
|
|
# `upstream api`). HTTP-only: the host front.conf terminates TLS.
|
|
- ./deploy/nginx/templates/contract-check-http.conf.template:/etc/nginx/templates/contract-check.conf.template:ro
|