Skip to content

Commit

Permalink
Rename to mein
Browse files Browse the repository at this point in the history
  • Loading branch information
petermein committed Dec 17, 2024
1 parent 6c27a13 commit 9c6685b
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 61 deletions.
21 changes: 0 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ smoke-test:
post-install:
@./scripts/hacks

<<<<<<< HEAD
# TODO maybe there's a better way to manage backup with GitOps?
backup:
./scripts/backup --action setup --namespace=actualbudget --pvc=actualbudget-data
Expand All @@ -35,26 +34,6 @@ backup:
restore:
./scripts/backup --action restore --namespace=actualbudget --pvc=actualbudget-data
./scripts/backup --action restore --namespace=jellyfin --pvc=jellyfin-data
=======
tools:
@docker run \
--rm \
--interactive \
--tty \
--network host \
--volume "/var/run/docker.sock:/var/run/docker.sock" \
--volume $(shell pwd):$(shell pwd) \
--volume ${KUBECONFIG}:/root/.kube/config \
--volume ${HOME}/.ssh:/root/.ssh \
--volume ${HOME}/.terraform.d:/root/.terraform.d \
--volume homelab-tools-cache:/root/.cache \
--volume homelab-tools-nix:/nix \
--workdir $(shell pwd) \
--entrypoint /bin/sh \
docker.io/nixos/nix -c "\
git config --global --add safe.directory $(shell pwd) && \
nix --experimental-features 'nix-command flakes' develop"
>>>>>>> 162a814 (Initial config)

test:
make -C test
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

**[Features](#features)[Get Started](#get-started)[Documentation](https://homelab.io.jupiter.mein.nl)**

[![tag](https://img.shields.io/github/v/tag/khuedoan/homelab?style=flat-square&logo=semver&logoColor=white)](https://github.com/khuedoan/homelab/tags)
[![tag](https://img.shields.io/github/v/tag/petermein/homelab?style=flat-square&logo=semver&logoColor=white)](https://github.com/petermein/homelab/tags)
[![document](https://img.shields.io/website?label=document&logo=gitbook&logoColor=white&style=flat-square&url=https%3A%2F%2Fhomelab.io.jupiter.mein.nl)](https://homelab.io.jupiter.mein.nl)
[![license](https://img.shields.io/github/license/khuedoan/homelab?style=flat-square&logo=gnu&logoColor=white)](https://www.gnu.org/licenses/gpl-3.0.html)
[![stars](https://img.shields.io/github/stars/khuedoan/homelab?logo=github&logoColor=white&color=gold&style=flat-square)](https://github.com/khuedoan/homelab)
[![license](https://img.shields.io/github/license/petermein/homelab?style=flat-square&logo=gnu&logoColor=white)](https://www.gnu.org/licenses/gpl-3.0.html)
[![stars](https://img.shields.io/github/stars/petermein/homelab?logo=github&logoColor=white&color=gold&style=flat-square)](https://github.com/petermein/homelab)

This project utilizes [Infrastructure as Code](https://en.wikipedia.org/wiki/Infrastructure_as_code) and [GitOps](https://www.weave.works/technologies/gitops) to automate provisioning, operating, and updating self-hosted services in my homelab.
It can be used as a highly customizable framework to build your own homelab.
Expand Down Expand Up @@ -89,15 +89,15 @@ They can't capture all the project's features, but they are sufficient to get a

[deploy-demo]: https://asciinema.org/a/xkBRkwC6e9RAzVuMDXH3nGHp7.svg
[pxe-demo]: https://user-images.githubusercontent.com/27996771/157303477-df2e7410-8f02-4648-a86c-71e6b7e89e35.png
[hubble-demo]: https://github.com/khuedoan/homelab/assets/27996771/9c6677d0-3564-47c0-852b-24b6a554b4a3
[homepage-demo]: https://github.com/khuedoan/homelab/assets/27996771/d0eaf620-be08-48d8-8420-40bcaa86093b
[grafana-demo]: https://github.com/khuedoan/homelab/assets/27996771/ad937b26-e9bc-4761-83ae-1c7f512ea97f
[gitea-demo]: https://github.com/khuedoan/homelab/assets/27996771/c245534f-88d9-4565-bde8-b39f60ccee9e
[hubble-demo]: https://github.com/petermein/homelab/assets/27996771/9c6677d0-3564-47c0-852b-24b6a554b4a3
[homepage-demo]: https://github.com/petermein/homelab/assets/27996771/d0eaf620-be08-48d8-8420-40bcaa86093b
[grafana-demo]: https://github.com/petermein/homelab/assets/27996771/ad937b26-e9bc-4761-83ae-1c7f512ea97f
[gitea-demo]: https://github.com/petermein/homelab/assets/27996771/c245534f-88d9-4565-bde8-b39f60ccee9e
[matrix-demo]: https://user-images.githubusercontent.com/27996771/149448510-7163310c-2049-4ccd-901d-f11f605bfc32.png
[woodpecker-demo]: https://github.com/khuedoan/homelab/assets/27996771/5d887688-d20a-44c8-8f77-0c625527dfe4
[argocd-demo]: https://github.com/khuedoan/homelab/assets/27996771/527e2529-4fe1-4664-ab8a-b9eb3c492d20
[alert-demo]: https://github.com/khuedoan/homelab/assets/27996771/c922f755-e911-4ca0-9d4a-6e552d387f18
[ai-demo]: https://github.com/khuedoan/homelab/assets/27996771/d77ba511-00b7-47c3-9032-55679a099e70
[woodpecker-demo]: https://github.com/petermein/homelab/assets/27996771/5d887688-d20a-44c8-8f77-0c625527dfe4
[argocd-demo]: https://github.com/petermein/homelab/assets/27996771/527e2529-4fe1-4664-ab8a-b9eb3c492d20
[alert-demo]: https://github.com/petermein/homelab/assets/27996771/c922f755-e911-4ca0-9d4a-6e552d387f18
[ai-demo]: https://github.com/petermein/homelab/assets/27996771/d77ba511-00b7-47c3-9032-55679a099e70

### Tech stack

Expand Down Expand Up @@ -241,7 +241,7 @@ They can't capture all the project's features, but they are sufficient to get a

## Roadmap

See [roadmap](https://homelab.io.jupiter.mein.nl/reference/roadmap) and [open issues](https://github.com/khuedoan/homelab/issues) for a list of proposed features and known issues.
See [roadmap](https://homelab.io.jupiter.mein.nl/reference/roadmap) and [open issues](https://github.com/petermein/homelab/issues) for a list of proposed features and known issues.

## Contributing

Expand Down Expand Up @@ -299,4 +299,4 @@ If you feel you're missing from this list, please feel free to add yourself in a

## Stargazers over time

[![Stargazers over time](https://starchart.cc/khuedoan/homelab.svg)](https://starchart.cc/khuedoan/homelab)
[![Stargazers over time](https://starchart.cc/petermein/homelab.svg)](https://starchart.cc/petermein/homelab)
2 changes: 1 addition & 1 deletion apps/homepage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ app-template:
- href: https://homelab.io.jupiter.mein.nl
icon: google-docs.svg
- Public homelab repository:
- href: https://github.com/khuedoan/homelab
- href: https://github.com/petermein/homelab
icon: github.svg
- Managed services:
- Cloudflare:
Expand Down
2 changes: 1 addition & 1 deletion apps/wireguard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ app-template:
[Peer]
# horus
PublicKey = zVwYqwvGn/IL7o6CD84y4/Y/OnRAUl/jw6T7DtNqWGM=
Endpoint = horus.khuedoan.com:51820
Endpoint = horus.io.jupiter.mein.nl:51820
PersistentKeepalive = 25
AllowedIPs = 172.16.0.2/32
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to-guides/use-both-github-and-gitea.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Add both push URLs (replace my repositories with yours):

```sh
git remote set-url --add --push origin git@git.io.jupiter.mein.nl:ops/homelab
git remote set-url --add --push origin git@github.com:khuedoan/homelab
git remote set-url --add --push origin git@github.com:petermein/homelab
```

Now you can just run `git push` like usual and it will push to both GitHub and Gitea.
2 changes: 1 addition & 1 deletion docs/installation/production/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ make configure

```
Text editor (nvim):
Enter seed repo (github.com/khuedoan/homelab): github.com/example/homelab
Enter seed repo (github.com/petermein/homelab): github.com/example/homelab
Enter your domain (io.jupiter.mein.nl): example.com
```

Expand Down
4 changes: 2 additions & 2 deletions docs/installation/production/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## Fork this repository

Because [this project](https://github.com/khuedoan/homelab) applies GitOps practices,
Because [this project](https://github.com/petermein/homelab) applies GitOps practices,
it's the source of truth for _my_ homelab, so you'll need to fork it to make it yours:

[:fontawesome-solid-code-fork: Fork khuedoan/homelab](https://github.com/khuedoan/homelab/fork){ .md-button }
[:fontawesome-solid-code-fork: Fork petermein/homelab](https://github.com/petermein/homelab/fork){ .md-button }

By using this project you agree to [the license](../../reference/license.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/installation/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Install the following packages:
Clone the repository and checkout the development branch:

```sh
git clone https://github.com/khuedoan/homelab
git clone https://github.com/petermein/homelab
git checkout dev
```

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/architecture/decision-records.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Move to Nix shell with a Docker wrapper, in case Nix is not available (see commi

**Context**

[Original proposal from @Bourne-ID](https://github.com/khuedoan/homelab/issues/70):
[Original proposal from @Bourne-ID](https://github.com/petermein/homelab/issues/70):

> **Issue statement**
>
Expand Down Expand Up @@ -200,7 +200,7 @@ Alternatives considered:
- Pros: automatic and atomic upgrade, immutable, quick installation
- Cons: hard to run Ansible on (Python is not included)
- CentOS/Rocky Linux (moved to Fedora in `022b816`):
- Pros: relatively stable (however we did encounter a breaking change [#63](https://github.com/khuedoan/homelab/issues/63), still not sure why)
- Pros: relatively stable (however we did encounter a breaking change [#63](https://github.com/petermein/homelab/issues/63), still not sure why)
- Cons: kernel and packages are too old
- Debian: couldn't get it to work with PXE boot and Rocky Linux was sufficient so I didn't push any further
- Cluster API (previous attempt in ` a8e4a85`, I hope to get this to work someday):
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

### Bug report

You can [create a new GitHub issue](https://github.com/khuedoan/homelab/issues/new/choose) with the bug report template.
You can [create a new GitHub issue](https://github.com/petermein/homelab/issues/new/choose) with the bug report template.

### Submitting patches

Because you may have a lot of changes in your fork, you can't create a pull request directly from your `master` branch.
Instead, create a branch from the upstream repository and commit your changes there:

```sh
git remote add upstream https://github.com/khuedoan/homelab
git remote add upstream https://github.com/petermein/homelab
git fetch upstream
git checkout upstream/master
git checkout -b contrib-fix-something
Expand All @@ -25,4 +25,4 @@ git checkout -b contrib-fix-something
# commit, push, etc. as usual
```

Then you can send the patch using [GitHub pull request](https://github.com/khuedoan/homelab/pulls) or `git send-email` to <mail@io.jupiter.mein.nl>.
Then you can send the patch using [GitHub pull request](https://github.com/petermein/homelab/pulls) or `git send-email` to <mail@io.jupiter.mein.nl>.
4 changes: 2 additions & 2 deletions docs/reference/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Can be used in "production" (for family or even small scale businesses).
- [ ] VPN server
- [ ] PeerTube
- [x] Blog
- [ ] [Development dashboard](https://github.com/khuedoan/homelab-backstage)
- [ ] [Development dashboard](https://github.com/petermein/homelab-backstage)

## Unplanned

Expand All @@ -86,5 +86,5 @@ Nice to have
- [ ] Automated testing
- [ ] Security audit
- [ ] Serverless ([Knative](https://knative.dev))
- [ ] Cluster API ([last attempt](https://github.com/khuedoan/homelab/pull/2))
- [ ] Cluster API ([last attempt](https://github.com/petermein/homelab/pull/2))
- [ ] Split DNS (requires a better router)
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
site_name: Khue's Homelab
copyright: Copyright &copy; 2020 - 2024 Khue Doan

repo_url: https://github.com/khuedoan/homelab
repo_url: https://github.com/petermein/homelab

theme:
favicon: https://github.com/khuedoan/homelab/assets/27996771/d33be1af-3687-4712-a671-4370da13cc92
favicon: https://github.com/petermein/homelab/assets/27996771/d33be1af-3687-4712-a671-4370da13cc92
name: material
palette:
primary: black
Expand Down
10 changes: 5 additions & 5 deletions platform/gitea/files/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ repositories:
owner: ops
private: false
migrate:
source: https://github.com/khuedoan/homelab
source: https://github.com/petermein/homelab
mirror: false
- name: blog
owner: khuedoan
owner: mein
migrate:
source: https://github.com/khuedoan/blog
source: https://github.com/mein/blog
mirror: true
- name: backstage
owner: khuedoan
owner: mein
migrate:
source: https://github.com/khuedoan/backstage
source: https://github.com/mein/backstage
mirror: true
2 changes: 1 addition & 1 deletion platform/gitea/files/config/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module git.io.jupiter.mein.nl/khuedoan/homelab/gitea/config
module git.io.jupiter.mein.nl/petermein/homelab/gitea/config

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion platform/global-secrets/files/secret-generator/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module git.io.jupiter.mein.nl/khuedoan/homelab/platform/secret-generator
module git.io.jupiter.mein.nl/petermein/homelab/platform/secret-generator

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import sys
from rich.prompt import Confirm, Prompt

upstream_config = {
"seed_repo": "https://github.com/khuedoan/homelab",
"seed_repo": "https://github.com/petermein/homelab",
"domain": "io.jupiter.mein.nl",
"timezone": "Asia/Ho_Chi_Minh",
"terraform_workspace": "khuedoan",
Expand Down
2 changes: 0 additions & 2 deletions system/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.POSIX:

export KUBECONFIG = $(shell pwd)${HOME}/.kube/config

.PHONY: bootstrap
bootstrap:
ansible-playbook \
Expand Down
2 changes: 1 addition & 1 deletion system/argocd/values-seed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ argocd-apps:
root:
generators:
- git:
repoURL: &repoURL https://github.com/khuedoan/homelab
repoURL: &repoURL https://github.com/petermein/homelab
revision: &revision master
directories:
- path: system/*
Expand Down

0 comments on commit 9c6685b

Please sign in to comment.