Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
94e2fb47
Verified
Commit
94e2fb47
authored
1 year ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
docs(minio): Add description and some details
parent
fd5dbce7
No related branches found
No related tags found
No related merge requests found
Pipeline
#19091
passed
1 year ago
Stage: lint
Stage: build
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/src/SUMMARY.md
+1
-0
1 addition, 0 deletions
docs/src/SUMMARY.md
docs/src/apps/minio.md
+60
-0
60 additions, 0 deletions
docs/src/apps/minio.md
with
61 additions
and
0 deletions
docs/src/SUMMARY.md
+
1
−
0
View file @
94e2fb47
...
...
@@ -16,6 +16,7 @@
-
[
Blog
](
apps/blog.md
)
-
[
Keycloak
](
apps/keycloak.md
)
-
[
Mastodon
](
apps/mastodon.md
)
-
[
Minio
](
apps/minio.md
)
-
[
Infrastructure Components
](
components/README.md
)
-
[
calico
](
components/calico.md
)
-
[
cert-manager
](
components/cert-manager.md
)
...
...
This diff is collapsed.
Click to expand it.
docs/src/apps/minio.md
0 → 100644
+
60
−
0
View file @
94e2fb47
# Minio
Minio provides S3-compatible object storage for all kinds of things. It's deployed on the
[
NAS
](
../hardware/nas.md
)
and stores bulk storage.
<iframe
width=
"100%"
height=
"480"
src=
"https://www.youtube-nocookie.com/embed/m0suyfBuaDg"
frameborder=
"0"
allow=
"autoplay; encrypted-media"
allowfullscreen
></iframe>
## Static Webhosting
Static webhosting is achived by building a webpage that links to full filenames like
`example.html`
as part of the URL.
Ingress-nginx is configured to handle the domain:
```
yaml
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
s3
spec
:
type
:
ExternalName
externalName
:
nas.example.net
ports
:
-
port
:
9000
name
:
https
protocol
:
TCP
---
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
example
annotations
:
nginx.ingress.kubernetes.io/backend-protocol
:
HTTPS
nginx.ingress.kubernetes.io/app-root
:
/index.html
nginx.ingress.kubernetes.io/rewrite-target
:
/example/$1
spec
:
rules
:
-
host
:
example.com
http
:
paths
:
-
path
:
/(.*)
pathType
:
Prefix
backend
:
service
:
name
:
s3
port
:
number
:
9000
tls
:
-
hosts
:
-
example.com
secretName
:
example-tls
```
Finally a bucket
`example`
is created and the website is copied inside:
```
bash
mc
alias set
minio https://nas.example.net:9000 example-access-key example-access-secret
mc mirror
--remove
--overwrite
./ minio/example
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment