Testing with different nginx.conf
This commit is contained in:
@@ -22,27 +22,14 @@ services:
|
||||
{{- if (.Values.GMAPS_KEY)}}
|
||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||
{{- end}}
|
||||
expose:
|
||||
- "9000"
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
{{- if (.Values.HOST_LABEL)}}
|
||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||
{{- end}}
|
||||
io.rancher.sidekicks: cron, web
|
||||
{{- if .Values.TRAEFIK_HOST}}
|
||||
traefik.enable: true
|
||||
traefik.frontend.rule: Host:${TRAEFIK_HOST}
|
||||
traefik.port: "9000"
|
||||
traefik.frontend.entryPoints: https
|
||||
traefik.frontend.passHostHeader: true
|
||||
{{- else}}
|
||||
traefik.enable: false
|
||||
{{- end}}
|
||||
links:
|
||||
- mysql
|
||||
networks:
|
||||
- public-proxy
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- Logo:/var/www/app/public/logo
|
||||
@@ -117,6 +104,15 @@ services:
|
||||
{{- if .Values.HOST_LABEL}}
|
||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||
{{- end}}
|
||||
{{- if .Values.TRAEFIK_HOST}}
|
||||
traefik.enable: true
|
||||
traefik.frontend.rule: Host:${TRAEFIK_HOST}
|
||||
traefik.port: "80"
|
||||
traefik.frontend.entryPoints: https
|
||||
traefik.frontend.passHostHeader: true
|
||||
{{- else}}
|
||||
traefik.enable: false
|
||||
{{- end}}
|
||||
links:
|
||||
- app
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user