17 lines
681 B
YAML
17 lines
681 B
YAML
# Local-only override: this developer's host already runs another
|
|
# Gitea instance bound to 0.0.0.0:3000 and 0.0.0.0:2222, so the
|
|
# default port mappings in docker-compose.yml conflict. Remap the
|
|
# local-ci Gitea to 13000 (HTTP) and 12222 (SSH) on the host. The
|
|
# in-network ports stay 3000 / 22 — runners and workflow containers
|
|
# keep reaching Gitea by hostname through the compose network.
|
|
#
|
|
# This file is intentionally NOT committed to the repo; it captures
|
|
# per-host port allocation. Use `make -C tools/local-ci push` only
|
|
# after pointing the `local-gitea` git remote at the override port.
|
|
|
|
services:
|
|
gitea:
|
|
ports: !override
|
|
- "13000:3000"
|
|
- "12222:22"
|