Commit eb8c9bae authored by rjshrjndrn's avatar rjshrjndrn
Browse files

Issue #000 feat: Running nginx in host mode as global container

parent f632f6d9
No related merge requests found
Showing with 10 additions and 3 deletions
+10 -3
......@@ -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 }}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment