This commit is contained in:
3
main.yml
3
main.yml
@@ -106,6 +106,9 @@
|
|||||||
- name: Deploy Database
|
- name: Deploy Database
|
||||||
import_tasks: tasks/mariadb.yml
|
import_tasks: tasks/mariadb.yml
|
||||||
tags: mariadb_deploy
|
tags: mariadb_deploy
|
||||||
|
- name: Deploy Floof
|
||||||
|
import_tasks: tasks/floof.yml
|
||||||
|
tags: floof_deploy
|
||||||
|
|
||||||
- hosts: nas
|
- hosts: nas
|
||||||
|
|
||||||
|
|||||||
19
tasks/floof.yml
Normal file
19
tasks/floof.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Floof
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: floof_adventure
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/floof"
|
||||||
|
networks:
|
||||||
|
- name: homelab
|
||||||
|
git:
|
||||||
|
repo: git@git.alexav.gg/alex/floofs-adventure
|
||||||
|
dest: "{{ data_dir }}/floof"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.dz.rule: Host(`floof.alexav.gg`)
|
||||||
|
traefik.http.routers.dz.entrypoints: webSecure
|
||||||
|
traefik.http.routers.dz.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.dz.loadbalancer.server.port: "3001"
|
||||||
Reference in New Issue
Block a user