Compare commits

...

4 commits

Author SHA1 Message Date
d8982e5b35
envrc --require-virtualenv 2023-03-27 12:51:20 +02:00
db11dd933a
wip 2023-03-27 12:51:20 +02:00
36302b343f
wip 2023-03-27 12:51:18 +02:00
7403f31ac5
nextcloud 25.0.5 2023-03-27 12:51:07 +02:00
6 changed files with 44 additions and 3 deletions

4
.envrc
View file

@ -10,8 +10,8 @@ python3 -m venv .venv
source .venv/bin/activate
PATH_add .venv/bin
PATH_add bin
python3 -m pip install --upgrade pip wheel
python3 -m pip install --upgrade -r requirements.txt
python3 -m pip --require-virtualenv --quiet install --upgrade pip wheel
python3 -m pip --require-virtualenv --quiet install --upgrade -r requirements.txt
rm -rf .cache/bw/git_deploy
export BW_GIT_DEPLOY_CACHE=.cache/bw/git_deploy

0
bundles/blog/README.md Normal file
View file

0
bundles/blog/items.py Normal file
View file

35
bundles/blog/metadata.py Normal file
View file

@ -0,0 +1,35 @@
from ipaddress import ip_interface
defaults = {
'flask': {
'blog' : {
'git_url': "https://git.sublimity.de/cronekorkn/flask-blog.git",
'port': 5010,
'app_module': 'blog',
'env': {
'DATA_PATH': '/var/blog',
},
},
},
'users': {
'blog': {},
},
}
@metadata_reactor.provides(
'nginx/vhosts',
)
def nginx(metadata):
return {
'nginx': {
'vhosts': {
metadata.get('blog/hostname'): {
'content': 'nginx/proxy_pass.conf',
'context': {
'target': 'http://127.0.0.1:5010',
},
},
},
},
}

View file

@ -106,7 +106,7 @@
},
'nextcloud': {
'hostname': 'cloud.sublimity.de',
'version': '25.0.4',
'version': '25.0.5',
'config': {
'instanceid': 'oci6dw1woodz',
'secret': '!decrypt:encrypt$gAAAAABj96CFynVtEgsje7173zjQAcY7xQG3uyf5cxE-sJAvhyPh_KUykTKdwnExc8NTDJ8RIGUmVfgC6or5crnYaggARPIEg5-Cb0xVdEPPZ3oZ01ImLmynLu3qXT9O8kVM-H21--OKeztMRn7bySsbXdWEGtETFQ==',

View file

@ -19,6 +19,8 @@
'steam',
'wireguard',
'zfs',
'blog',
'flask',
],
'metadata': {
'id': 'ea29bdf0-0b47-4bf4-8346-67d60c9dc4ae',
@ -35,6 +37,10 @@
'gateway6': 'fe80::1',
}
},
'blog': {
'hostname': 'wiegand.tel',
'repo': 'https://git.sublimity.de/cronekorkn/blog.git',
},
'bind': {
'hostname': 'resolver.name',
'acme_zone': 'acme.sublimity.de',