2 Commits

Author SHA1 Message Date
e86a669d9d testing 2022-05-19 01:35:27 -04:00
ed9100bc8f Migrate to Debian 11 2022-05-19 00:39:42 -04:00
8 changed files with 36 additions and 4 deletions

2
.gitignore vendored
View File

@@ -8,5 +8,7 @@
!dockerbox.yml !dockerbox.yml
!hypervisor.yml !hypervisor.yml
!minecraft.yml !minecraft.yml
!mkdocs.yml
!unifi.yml !unifi.yml
/environments/ /environments/
/site/

2
Vagrantfile vendored
View File

@@ -20,7 +20,7 @@ else
end end
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "debian/contrib-buster64" config.vm.box = "debian/bullseye64"
config.vm.network "private_network", type: "dhcp" config.vm.network "private_network", type: "dhcp"
config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder "./scratch", "/vagrant/scratch" config.vm.synced_folder "./scratch", "/vagrant/scratch"

View File

@@ -20,7 +20,7 @@
- docker - docker
- traefik - traefik
- nextcloud - nextcloud
# - gitea - gitea
- jenkins - jenkins
- prometheus - prometheus
- nginx - nginx

1
docs/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
python

23
mkdocs.yml Normal file
View File

@@ -0,0 +1,23 @@
site_name: moxie
site_author: Kris Lamoureux
copyright: Copyright © 2021 Kris Lamoureux
# Repository
repo_name: krislamo/moxie
repo_url: https://github.com/krislamo/moxie
theme:
name: material
palette:
primary: black
icon:
logo: material/server
extra:
generator: false
social:
- icon: fontawesome/brands/github
link: https://github.com/krislamo
#nav:
# - Home: index.md

View File

@@ -29,7 +29,7 @@
- "{{ nginx_html }}:/usr/share/nginx/html:ro" - "{{ nginx_html }}:/usr/share/nginx/html:ro"
labels: labels:
traefik.http.routers.nginx.rule: "Host(`{{ nginx_domain }}`)" traefik.http.routers.nginx.rule: "Host(`{{ nginx_domain }}`)"
#traefik.http.middlewares.nginxauth.basicauth.users: "{{ nginx_auth }}" traefik.http.middlewares.nginxauth.basicauth.users: "{{ nginx_auth }}"
traefik.http.routers.nginx.entrypoints: websecure traefik.http.routers.nginx.entrypoints: websecure
traefik.http.routers.nginx.tls.certresolver: letsencrypt traefik.http.routers.nginx.tls.certresolver: letsencrypt
traefik.http.routers.nginx.middlewares: "securehttps@file,nginxauth" traefik.http.routers.nginx.middlewares: "securehttps@file,nginxauth"

View File

@@ -41,7 +41,7 @@
- name: traefik - name: traefik
labels: labels:
traefik.http.routers.traefik.rule: "Host(`{{ traefik_domain }}`)" traefik.http.routers.traefik.rule: "Host(`{{ traefik_domain }}`)"
#traefik.http.middlewares.auth.basicauth.users: "{{ traefik_auth }}" traefik.http.middlewares.auth.basicauth.users: "{{ traefik_auth }}"
traefik.http.middlewares.localonly.ipwhitelist.sourcerange: "{{ traefik_localonly }}" traefik.http.middlewares.localonly.ipwhitelist.sourcerange: "{{ traefik_localonly }}"
traefik.http.routers.traefik.tls.certresolver: letsencrypt traefik.http.routers.traefik.tls.certresolver: letsencrypt
traefik.http.routers.traefik.middlewares: "securehttps@file,auth@docker,localonly" traefik.http.routers.traefik.middlewares: "securehttps@file,auth@docker,localonly"

6
serve-docs.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
[ ! -d "./docs/python" ] && python3 -m venv ./docs/python
. ./docs/python/bin/activate
pip install mkdocs-material==7.3.3
mkdocs serve
deactivate