Page MenuHomeDevCentral

WIP: Use Docker pillar information in nginx config
Needs ReviewPublic

Authored by dereckson on Oct 28 2019, 03:13.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 26, 06:23
Unknown Object (File)
Sun, Jan 26, 06:23
Unknown Object (File)
Sun, Jan 26, 06:23
Unknown Object (File)
Sat, Jan 25, 18:53
Unknown Object (File)
Sat, Jan 25, 17:21
Unknown Object (File)
Mon, Jan 20, 01:29
Unknown Object (File)
Tue, Dec 31, 01:32
Unknown Object (File)
Tue, Dec 31, 01:32
Subscribers
None

Details

Reviewers
dereckson
Summary

Currently, the nginx configuration for the legacy webserver role
used hardcoded port information to pass a request to Docker PaaS.

This change introduces a method to prepare a dictionary of proxy_pass URLs
per server and application, and applies it for API and infra.

Test Plan

Deploy on Ysul

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
configure-docker-upstreams
Build Status
Buildable 3248
Build 3497: arc lint + arc unit

Event Timeline

dereckson created this revision.

Remove debug information, use correct pillar syntax.

Call paas_docker.get_upstreams()