3 Commits

Author SHA1 Message Date
a68ef1fffc Using for public sites 2022-11-17 00:17:53 -05:00
36d4ca2e6d Using nginx proxy basic auth instead 2022-11-17 00:09:18 -05:00
0b23966f6e Gitea not on Dockerbox anymore 2022-11-16 23:51:34 -05:00
8 changed files with 4 additions and 36 deletions

2
.gitignore vendored
View File

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

2
Vagrantfile vendored
View File

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

View File

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

1
docs/.gitignore vendored
View File

@@ -1 +0,0 @@
python

View File

@@ -1,23 +0,0 @@
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"
labels:
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.tls.certresolver: letsencrypt
traefik.http.routers.nginx.middlewares: "securehttps@file,nginxauth"

View File

@@ -41,7 +41,7 @@
- name: traefik
labels:
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.routers.traefik.tls.certresolver: letsencrypt
traefik.http.routers.traefik.middlewares: "securehttps@file,auth@docker,localonly"

View File

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