Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
407658cb
Commit
407658cb
authored
5 years ago
by
keshavprasadms
Committed by
rjshrjndrn
5 years ago
Browse files
Options
Download
Patches
Plain Diff
fix: revert host network changes
parent
ce7b2258
sunbird-monitoring-release-3.5.0_RC1
sunbird-monitoring-release-3.3.0_RC1
sunbird-monitoring-release-2.6.0
sunbird-monitoring-release-2.6.0_RC6
sunbird-monitoring-release-2.6.0_RC5
sunbird-monitoring-release-2.6.0_RC4
sunbird-monitoring-release-2.6.0_RC3
sunbird-monitoring-release-2.6.0_RC2
sunbird-monitoring-release-2.6.0_RC1
sunbird-monitoring-release-2.5.0_484f884
sunbird-monitoring-release-2.5.0
sunbird-monitoring-release-2.5.0_RC3
sunbird-monitoring-release-2.5.0_RC2
sunbird-monitoring-release-2.5.0_RC1
sunbird-monitoring-release-2.3.0_9009005
sunbird-monitoring-release-2.3.0
sunbird-monitoring-release-2.3.0_RC4
sunbird-monitoring-release-2.3.0_RC3
sunbird-monitoring-release-2.3.0_RC2
sunbird-monitoring-release-2.3.0_RC1
sunbird-monitoring-release-2.2.0_RC1
secor-lag
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/stack-proxy/templates/stack-proxy.yml
+2
-9
ansible/roles/stack-proxy/templates/stack-proxy.yml
ansible/roles/stack-proxy/templates/stack-proxy.yml_host_network
+60
-0
.../roles/stack-proxy/templates/stack-proxy.yml_host_network
with
62 additions
and
9 deletions
+62
-9
ansible/roles/stack-proxy/templates/stack-proxy.yml
+
2
−
9
View file @
407658cb
...
...
@@ -3,16 +3,9 @@ version: '3.3'
services
:
proxy
:
image
:
"
{{hub_org}}/{{image_name}}:{{image_tag}}"
# This is a workaround for remote ip address is not visible nginx
ports
:
-
mode
:
host
target
:
80
published
:
80
protocol
:
TCP
-
mode
:
host
target
:
443
published
:
443
protocol
:
TCP
-
"
443:443"
-
"
80:80"
deploy
:
mode
:
global
resources
:
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/stack-proxy/templates/stack-proxy.yml_host_network
0 → 100644
+
60
−
0
View file @
407658cb
version: '3.3'
services:
proxy:
image: "{{hub_org}}/{{image_name}}:{{image_tag}}"
# This is a workaround for remote ip address is not visible nginx
ports:
- mode: host
target: 80
published: 80
protocol: TCP
- mode: host
target: 443
published: 443
protocol: TCP
deploy:
replicas: {{ proxy_replicas }}
resources:
reservations:
memory: "{{ proxy_reservation_memory }}"
limits:
memory: "{{ proxy_limit_memory }}"
update_config:
parallelism: 1
delay: 30s
secrets:
{# Skip copying ssls for no domain configs #}
{% if proto=='https' %}
- site.key
- site.crt
{% endif %}
- prom_admin_creds
configs:
- source: nginx.conf
target: /etc/nginx/nginx.conf
- source: proxy-default.conf
target: /etc/nginx/conf.d/default.conf
networks:
- application_default
secrets:
{# Skip copying ssls for no domain configs #}
{% if proto=='https' %}
site.key:
external: true
site.crt:
external: true
{% endif %}
prom_admin_creds:
external: true
configs:
nginx.conf:
external: true
proxy-default.conf:
external: true
networks:
application_default:
external: true
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets