Move to v2 format

This commit is contained in:
Luke Murphy
2020-04-14 12:02:43 +02:00
parent ae6b9b6f2f
commit 45f83b1e56
17 changed files with 52 additions and 199 deletions

33
deploy.d/config.yml Normal file
View File

@ -0,0 +1,33 @@
---
port: "8085"
domain: "punkbase.autonomic.zone"
mounts:
- /var/lib/homebase:/root/
templates:
- src: homebase.yml.j2
dest: /var/lib/homebase/.homebase.yml
vars:
auto_letsencrypt: "false"
dashboard: "false"
dat_root: "/root/.homebase"
dats:
# https://sunbeam.city/@kawaiipunk/103883932490360099
- "dat://c403b7c92eb5e1b2c293425ee6623635be11211977787053e9797e94b958e6e0"
# kawaiipunk blog
- "dat://510b9f5baf4e71269d2681ad4ca5f8186769fcddfee779d12ad339b5eca608cd"
# Lai Power music
- "dat://2895678d8a51bfbe0618a717af136b386abbe4b80e8a9705dec7970d44eb9a4c"
- "dat://cd9cd78a369bfc758144afaf433a1ba2a63ea842e998ad3ea97c9c1d11fd2a71"
- "dat://f39011f7ea585d5be4f1854700071f6fc6989cbe443d801edb897008a2d71952"
- "dat://469a88055fe7e2dd33fdf90268e8a9d7f6d0649389552fad346c35ab90cf5960"
- "dat://fb65190ff1318251e7c504fa70410f3b38e9408ff96e961840c185f8a55a5969"
- "dat://fc1546d01c1423cf53ac99457a48078deb5734cc6740fb8e23a9f027f257f40e"
- "dat://d5e1c77b5fc6aecede3b37a1d4537ea2b1737303306dbee0e4e3aac52fae42ec"
- "dat://0d5dbb32bbc4af74579e35deff0877f05ef80a581da620aabedc8750aa911bbd"
# Sunbeam City Wiki
- "dat://cf9de5d87118ad22ecd927df1c1b174632c6a1920ade2ef57f75e8421017ccc5"
http_mirror: "true"
webapi_password: "{{ webapi_password }}"
webapi_username: "{{ webapi_username }}"
env:
DOKKU_LETSENCRYPT_EMAIL: "helo@autonomic.zone"

View File

@ -0,0 +1,15 @@
---
directory: {{ dat_root }}
httpMirror: {{ http_mirror }}
letsencrypt: {{ auto_letsencrypt }}
dashboard: {{ dashboard }}
webapi:
domain: {{ domain }}
username: {{ webapi_username }}
password: {{ webapi_password }}
ports:
http: {{ port }}
dats:
{% for dat in dats %}
- url: "{{ dat }}"
{% endfor %}

View File

@ -0,0 +1,9 @@
---
webapi_password: !vault |-
$ANSIBLE_VAULT;1.1;AES256
32316635653834376565643736643539373336303438353364373239323666633062396435663264
6139633566616165626335313836383031393233353961340a393831663430343332363661663037
36353662393535346137313765346362393964363863313131323766663439613164633437343434
3338386439383961300a663734393539653833343835393838623862306563636338306364336434
64656137666563303166333639393230613139336566653138363866376433383737366466636362
3365373461393565393930373033623863616130363230663536

View File

@ -0,0 +1,8 @@
---
webapi_username: !vault |-
$ANSIBLE_VAULT;1.1;AES256
30333838353634373236363634366634333132616161643133363833373934313630636234306339
3065386363663237336565663034336138306636353737310a663733363965306134663837393831
31376438643663383832393938623734343033343464376265656230613662643232613131623833
3466383465366637610a346534313463636237383231613038353761656438333834353938666136
3232