Extract maestroTransport() (Maestro's identity cert + instance CA) and expose PeerTransport()/Scheme()/InsecureInternal() so every service peer edge uses the same client. RunAction now targets https://{ip}:{port}/action/{name} presenting Maestro's cert (services require a CA-issued client cert, so only Maestro can drive actions — T4) and FetchManifestWithRetry fetches /_manifest the same way. INSECURE_INTERNAL=1 keeps the dev fleet plaintext (debug compose updated to set it).
28 lines
750 B
YAML
28 lines
750 B
YAML
services:
|
|
maestro-engine:
|
|
image: maestro
|
|
container_name: maestro
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
networks:
|
|
- dcntrlized_net
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.debug
|
|
environment:
|
|
- DEV_MODE=true
|
|
- DCNTRLIZED_DEV=true
|
|
- INSECURE_INTERNAL=1
|
|
- GITEA_URL=${GITEA_URL:-http://192.168.122.183:3000}
|
|
- GITEA_REGISTRY_RO_TOKEN=${GITEA_REGISTRY_RO_TOKEN}
|
|
- GITEA_RW_PACKAGE_TOKEN=${GITEA_RW_PACKAGE_TOKEN}
|
|
- GITEA_ORG=${GITEA_ORG:-Dcntrlized}
|
|
- GITEA_USER=${GITEA_USER:-admin}
|
|
- GIT_TOKEN=${GIT_TOKEN}
|
|
- REGISTRY_USER=${REGISTRY_USER:-admin}
|
|
|
|
networks:
|
|
dcntrlized_net:
|
|
external: true |