feat: add comprofix.com

This commit is contained in:
Matthew McKinnon 2024-09-20 19:59:24 +10:00
parent 8239fbcc9b
commit 2f00916756
2 changed files with 20 additions and 1 deletions

View File

@ -51,7 +51,12 @@
vars: vars:
traefik_host: traefik02.comprofix.xyz traefik_host: traefik02.comprofix.xyz
tags: traefik_install tags: traefik_install
tasks: tasks:
- name: Deploy comprofix.com website
import_tasks: tasks/comprofix.com.yml
tags: comprofix_install
- name: Deploy iDrac Fan Controller - name: Deploy iDrac Fan Controller
import_tasks: tasks/idrac.yml import_tasks: tasks/idrac.yml
tags: idrac_install tags: idrac_install

14
tasks/comprofix.com.yml Normal file
View File

@ -0,0 +1,14 @@
- name: Create the comprofix.com container
docker_container:
name: comprofix.com
image: git.comprofix.com/mmckinnon/comprofix.com:latest
restart_policy: unless-stopped
recreate: true
networks:
- name: proxy
labels:
traefik.enable: "true"
traefik.http.routers.comprofix.rule: "Host(`comprofix.com`)"
traefik.http.routers.comprofix.entrypoints: "https"
traefik.http.routers.comprofix.tls: "true"
traefik.http.services.comprofix.loadbalancer.server.port: "80"