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
F3764498: D2084.diff
Fri, Nov 22, 06:12
Unknown Object (File)
Tue, Nov 19, 06:39
Unknown Object (File)
Sun, Nov 10, 08:00
Unknown Object (File)
Wed, Nov 6, 16:19
Unknown Object (File)
Wed, Nov 6, 15:10
Unknown Object (File)
Thu, Oct 31, 07:29
Unknown Object (File)
Sat, Oct 26, 13:20
Unknown Object (File)
Oct 20 2024, 21:09
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 3241
Build 3490: arc lint + arc unit

Event Timeline

dereckson created this revision.

Remove debug information, use correct pillar syntax.

Call paas_docker.get_upstreams()