16 lines
566 B
YAML
16 lines
566 B
YAML
# Example: API hub container only. Point upstream blocks in
|
|
# config/nginx/sankofa-phoenix-api-hub.example.conf to real Phoenix (e.g. :4000) and
|
|
# dbis_core (:3000) — on the same host use 127.0.0.1 after colocation, or LAN IPs
|
|
# (e.g. 192.168.11.50, 192.168.11.155) during migration.
|
|
#
|
|
# docker compose -f sankofa-consolidated-runtime.example.yml up -d
|
|
|
|
services:
|
|
api-hub:
|
|
image: nginx:1.27-alpine
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ../nginx/sankofa-phoenix-api-hub.example.conf:/etc/nginx/conf.d/default.conf:ro
|
|
restart: unless-stopped
|