DEV-1280 cockpit.mpmx.com

main
Sven Ketelsen 2 years ago committed by Ketelsen, Sven
parent 43abce612a
commit e4ce321667

@ -4,3 +4,11 @@ hetzner_server_labels: "stage={{ stage }} service=cockpit"
custom_stage_platform_users: custom_stage_platform_users:
- 'paul.zinke' - 'paul.zinke'
# cockpit.mpmx.com := host europe dns
nginx_labels_additional:
- '"traefik.http.routers.cockpit-mpmx-com.service={{ nginx_id }}"'
- '"traefik.http.routers.cockpit-mpmx-com.rule=Host(`cockpit.mpmx.com`)"'
- '"traefik.http.routers.cockpit-mpmx-com.entrypoints=websecure"'
- '"traefik.http.routers.cockpit-mpmx-com.tls=true"'
- '"traefik.http.routers.cockpit-mpmx-com.tls.certresolver=letsencrypt-http"'

@ -24,7 +24,7 @@ nginx_docker: {
name: "{{ nginx_id }}", name: "{{ nginx_id }}",
image_name: "{{ nginx_image }}", image_name: "{{ nginx_image }}",
image_version: alpine, image_version: alpine,
labels: "{{ nginx_labels }}", labels: "{{ nginx_labels + ( nginx_labels_additional | default([])) }}",
volumes: [ volumes: [
"{{ service_base_path }}/{{ inventory_hostname }}/dist:/usr/share/nginx/html", "{{ service_base_path }}/{{ inventory_hostname }}/dist:/usr/share/nginx/html",
"{{ service_base_path }}/{{ inventory_hostname }}/conf/nginx.conf:/etc/nginx/conf.d/default.conf" "{{ service_base_path }}/{{ inventory_hostname }}/conf/nginx.conf:/etc/nginx/conf.d/default.conf"

Loading…
Cancel
Save