This commit is contained in:
3
main.yml
3
main.yml
@@ -88,6 +88,9 @@
|
||||
- name: Deploy Gitea Runner
|
||||
import_tasks: tasks/runner.yml
|
||||
tags: runner_deploy
|
||||
- name: Deploy Weatherstar
|
||||
import_tasks: tasks/weatherstar.yml
|
||||
tags: weatherstar_deploy
|
||||
|
||||
- hosts: jackson
|
||||
|
||||
|
||||
22
tasks/weatherstar.yml
Normal file
22
tasks/weatherstar.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: Deploy Weatherstar
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: weatherstar
|
||||
image:
|
||||
name: ghcr.io/netbymatt/ws4kp
|
||||
tag: latest
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
WSQS_latLonQuery: "Batavia, New York, USA"
|
||||
WSQS_hazards_checkbox: "true"
|
||||
WSQS_current_weather_checkbox: "true"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.weatherstar.rule: Host(`weatherstar.fntz.net`)
|
||||
traefik.http.routers.weatherstar.entrypoints: webSecure
|
||||
traefik.http.routers.weatherstar.tls.certresolver: letsencrypt
|
||||
traefik.http.services.weatherstar.loadbalancer.server.port: "8080"
|
||||
Reference in New Issue
Block a user