-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation updates for project transition. (#740)
Documentation updates for project transition. This updates documentation for the project transition to ENA as well as changing the deployment method of the documentation website.
- Loading branch information
Showing
10 changed files
with
110 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM alpine:latest | ||
MAINTAINER Aaron Hurt <[email protected]> | ||
|
||
ARG hugo_version=0.62.2 | ||
EXPOSE 1313 | ||
|
||
## install hugo and other needed packages | ||
RUN apk update && \ | ||
apk add --no-cache ca-certificates && \ | ||
wget -q -O - \ | ||
https://github.com/gohugoio/hugo/releases/download/v${hugo_version}/hugo_${hugo_version}_Linux-64bit.tar.gz \ | ||
| tar -zxf - hugo && \ | ||
mv hugo /usr/local/bin/hugo && \ | ||
chmod 0755 /usr/local/bin/hugo | ||
|
||
## populate hugo source | ||
COPY docs /srv | ||
|
||
## setup hugo resource cache | ||
RUN mkdir -p /srv/resources && \ | ||
chown nobody:nobody /srv/resources | ||
|
||
## do not run as root | ||
USER nobody | ||
|
||
## launch hugo and serve docs | ||
ENTRYPOINT ["/usr/local/bin/hugo"] | ||
CMD ["serve", "--disableFastRender", "--bind", "0.0.0.0", "--source", "/srv"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
job "fabiolb-docs" { | ||
datacenters = [ | ||
"nsvltn", | ||
"iplsin" | ||
] | ||
type = "service" | ||
update { | ||
max_parallel = 1 | ||
auto_revert = true | ||
} | ||
group "deploy" { | ||
count = 4 | ||
constraint { | ||
attribute = "${node.datacenter}" | ||
operator = "distinct_property" | ||
value = "2" | ||
} | ||
restart { | ||
attempts = 3 | ||
interval = "30m" | ||
delay = "15s" | ||
mode = "fail" | ||
} | ||
ephemeral_disk { | ||
size = 750 | ||
} | ||
task "docker" { | ||
driver = "docker" | ||
config { | ||
image = "fabiolb/fabio-docs" | ||
} | ||
service { | ||
name = "fabiolb-docs" | ||
tags = [ | ||
"urlprefix-fabiolb.net/", | ||
] | ||
address_mode = "driver" | ||
port = 1313 | ||
check { | ||
address_mode = "driver" | ||
port = 1313 | ||
type = "http" | ||
path = "/check/ok" | ||
interval = "20s" | ||
timeout = "5s" | ||
} | ||
} | ||
env { | ||
SERVICE_IGNORE = "true" | ||
} | ||
resources { | ||
cpu = 500 | ||
memory = 1024 | ||
} | ||
logs { | ||
max_files = 5 | ||
max_file_size = 100 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
baseURL = "https://fabiolb.net/" | ||
languageCode = "en-us" | ||
title = "fabio - The Consul Load-Balancer" | ||
disableKinds = ["taxonomy", "taxonomyTerm"] | ||
|
||
[params] | ||
googleAnalytics = "UA-2812942-5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,6 @@ title: "Code of Conduct" | |
weight: 1000 | ||
--- | ||
|
||
<div class="jumbotron"> | ||
<div class="container"> | ||
<h1>Be nice and treat others with respect 😌</h1> | ||
<p>I am happy to mediate if there is a dispute.</p> | ||
<p><a class="btn btn-primary btn-lg" href="mailto:[email protected]?subject=Dispute" role="button">Mail me</a></p> | ||
</div> | ||
</div> | ||
Be nice and treat others with respect. | ||
|
||
Please contact a project owner if you need mediation with a dispute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ok |