v0.0.5
This commit is contained in:
parent
861aade5e9
commit
2d39534023
6
files/footer.html
Normal file
6
files/footer.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<br></br>
|
||||||
|
<footer>
|
||||||
|
<ul>
|
||||||
|
<li><p>Copyright © 2024 Eric O'Neill Meehan. All rights reserved.</p></li>
|
||||||
|
</ul>
|
||||||
|
</footer>
|
@ -1,9 +1,20 @@
|
|||||||
|
# name of your site or organization, to appear in page titles.
|
||||||
|
$site_name = "EOM - Git";
|
||||||
|
|
||||||
# path to git projects (<project>.git)
|
# path to git projects (<project>.git)
|
||||||
$projectroot = "/usr/local/apache2/htdocs";
|
$projectroot = "/usr/local/apache2/htdocs";
|
||||||
|
|
||||||
# directory to use for temp files
|
# directory to use for temp files
|
||||||
$git_temp = "/tmp";
|
$git_temp = "/tmp";
|
||||||
|
|
||||||
|
$per_request_config = true;
|
||||||
|
$my_uri = "https://git.eom.dev/";
|
||||||
|
$my_url = "https://git.eom.dev/";
|
||||||
|
$base_url = "https://git.eom.dev/";
|
||||||
|
$omit_owner = true;
|
||||||
|
$site_header = "/usr/local/apache2/htdocs/static/header.html";
|
||||||
|
$site_footer = "/usr/local/apache2/htdocs/static/footer.html";
|
||||||
|
|
||||||
# target of the home link on top of all pages
|
# target of the home link on top of all pages
|
||||||
#$home_link = $my_uri || "/";
|
#$home_link = $my_uri || "/";
|
||||||
|
|
||||||
@ -14,16 +25,21 @@ $git_temp = "/tmp";
|
|||||||
#$projects_list = $projectroot;
|
#$projects_list = $projectroot;
|
||||||
|
|
||||||
# stylesheet to use
|
# stylesheet to use
|
||||||
#@stylesheets = ("static/gitweb.css");
|
@stylesheets = (
|
||||||
|
"https://media.eom.dev/gitweb/gitweb.css",
|
||||||
|
"https://www.eom.dev/css/header.css",
|
||||||
|
"https://www.eom.dev/css/nav.css",
|
||||||
|
"https://www.eom.dev/css/footer.css"
|
||||||
|
);
|
||||||
|
|
||||||
# javascript code for gitweb
|
# javascript code for gitweb
|
||||||
#$javascript = "static/gitweb.js";
|
$javascript = "https://media.eom.dev/gitweb/gitweb.js";
|
||||||
|
|
||||||
# logo to use
|
# logo to use
|
||||||
#$logo = "static/git-logo.png";
|
$logo = "https://media.eom.dev/gitweb/git-logo.png";
|
||||||
|
|
||||||
# the 'favicon'
|
# the 'favicon'
|
||||||
#$favicon = "static/git-favicon.png";
|
$favicon = "https://media.eom.dev/favicon/favicon.ico";
|
||||||
|
|
||||||
# git-diff-tree(1) options to use for generated patches
|
# git-diff-tree(1) options to use for generated patches
|
||||||
#@diff_opts = ("-M");
|
#@diff_opts = ("-M");
|
||||||
|
14
files/header.html
Normal file
14
files/header.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<header style="font-size: bigger">
|
||||||
|
<h1>EOM</h1>
|
||||||
|
</header>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://www.eom.dev/">Home</a></li>
|
||||||
|
<li><a href="https://www.eom.dev/blog.shtml">Blog</a></li>
|
||||||
|
<li><a href="https://media.eom.dev/">Media</a></li>
|
||||||
|
<li><a href="https://git.eom.dev/">Git</a></li>
|
||||||
|
<li><a href="https://www.eom.dev/about.shtml">About</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<br></br>
|
||||||
|
<h1>Git</h1>
|
@ -14,7 +14,7 @@ LoadModule dav_fs_module modules/mod_dav_fs.so
|
|||||||
# on the directory where the DavLockDB is placed and on any directory where
|
# on the directory where the DavLockDB is placed and on any directory where
|
||||||
# "Dav On" is specified.
|
# "Dav On" is specified.
|
||||||
|
|
||||||
DavLockDB "/usr/local/apache2/var/DavLock"
|
DavLockDB "/usr/local/apache2/DavLock"
|
||||||
|
|
||||||
<Directory "/usr/local/apache2/htdocs">
|
<Directory "/usr/local/apache2/htdocs">
|
||||||
Dav On
|
Dav On
|
||||||
|
@ -5,3 +5,7 @@ AddOutputFilter INCLUDES .shtml
|
|||||||
<Directory "/usr/local/apache2/htdocs">
|
<Directory "/usr/local/apache2/htdocs">
|
||||||
Options +Includes
|
Options +Includes
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
<IfModule dir_module>
|
||||||
|
DirectoryIndex index.shtml
|
||||||
|
</IfModule>
|
||||||
|
@ -1,6 +1,17 @@
|
|||||||
---
|
---
|
||||||
# tasks file for git
|
# tasks file for git
|
||||||
- name: Create a config map for httpd
|
- name: Create a config map for git gitweb
|
||||||
|
k8s:
|
||||||
|
state: present
|
||||||
|
api_version: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
name: git-gitweb
|
||||||
|
namespace: "eom-{{ target_namespace }}"
|
||||||
|
definition:
|
||||||
|
data:
|
||||||
|
gitweb.conf: "{{ lookup('file', 'gitweb.conf') }}"
|
||||||
|
|
||||||
|
- name: Create a config map for git httpd
|
||||||
vars:
|
vars:
|
||||||
httpd_server_name: "git.eom.dev"
|
httpd_server_name: "git.eom.dev"
|
||||||
httpd_conf_extra:
|
httpd_conf_extra:
|
||||||
@ -10,7 +21,7 @@
|
|||||||
state: present
|
state: present
|
||||||
api_version: v1
|
api_version: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
name: git
|
name: git-httpd
|
||||||
namespace: "eom-{{ target_namespace }}"
|
namespace: "eom-{{ target_namespace }}"
|
||||||
definition:
|
definition:
|
||||||
data:
|
data:
|
||||||
@ -85,16 +96,22 @@
|
|||||||
- name: gitweb
|
- name: gitweb
|
||||||
image: ericomeehan/gitweb
|
image: ericomeehan/gitweb
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: gitweb-config
|
||||||
|
mountPath: /etc/gitweb.conf
|
||||||
|
subPath: gitweb.conf
|
||||||
|
- name: httpd-config
|
||||||
mountPath: /usr/local/apache2/conf
|
mountPath: /usr/local/apache2/conf
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /usr/local/apache2/htdocs
|
mountPath: /usr/local/apache2/htdocs
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: gitweb-config
|
||||||
configMap:
|
configMap:
|
||||||
name: git
|
name: git-gitweb
|
||||||
|
- name: httpd-config
|
||||||
|
configMap:
|
||||||
|
name: git-httpd
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: git
|
claimName: git
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
app: www
|
app: www
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: httpd
|
- name: www
|
||||||
image: httpd
|
image: ericomeehan/www
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /usr/local/apache2/conf
|
mountPath: /usr/local/apache2/conf
|
||||||
|
Loading…
Reference in New Issue
Block a user