Stop publishing web on host port 8080, which clashed between stacks; Traefik reaches port 80 of the container through dokploy-network. Local testing now uses docker-compose.local.yml to publish the port. Proxy nginx to a `gruperly-api` alias that only exists on the stack's own network: the `api` service name is also registered on dokploy-network, so with two stacks nginx could reach the other environment's API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
257 B
YAML
8 lines
257 B
YAML
# Only for testing the production compose locally:
|
|
# docker compose -f docker-compose.yml -f docker-compose.local.yml up --build -d
|
|
# Dokploy does not use this file (Traefik reaches port 80 of the container).
|
|
services:
|
|
web:
|
|
ports:
|
|
- "8080:80"
|