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
eb8c9bae
Commit
eb8c9bae
authored
5 years ago
by
rjshrjndrn
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: Running nginx in host mode as global container
parent
f632f6d9
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-proxy/templates/stack-proxy.yml
+10
-3
ansible/roles/stack-proxy/templates/stack-proxy.yml
with
10 additions
and
3 deletions
+10
-3
ansible/roles/stack-proxy/templates/stack-proxy.yml
+
10
−
3
View file @
eb8c9bae
...
...
@@ -3,11 +3,18 @@ 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
:
-
"
443:443"
-
"
80:80"
-
mode
:
host
target
:
80
published
:
80
protocol
:
TCP
-
mode
:
host
target
:
443
published
:
443
protocol
:
TCP
deploy
:
replicas
:
{{
proxy_replicas
}}
mode
:
global
resources
:
reservations
:
memory
:
"
{{
proxy_reservation_memory
}}"
...
...
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