Compare commits
1 Commits
portainer
...
c37d880506
Author | SHA1 | Date | |
---|---|---|---|
c37d880506 |
@ -4,9 +4,9 @@ WORKDIR /hugo
|
|||||||
RUN hugo new site /hugo
|
RUN hugo new site /hugo
|
||||||
RUN git clone https://github.com/yihui/hugo-xmin.git themes/hugo-xmin
|
RUN git clone https://github.com/yihui/hugo-xmin.git themes/hugo-xmin
|
||||||
ADD hugo.toml /hugo/hugo.toml
|
ADD hugo.toml /hugo/hugo.toml
|
||||||
|
ADD content /hugo/content
|
||||||
ADD static /hugo/static
|
ADD static /hugo/static
|
||||||
ADD shortcodes /hugo/layouts/shortcodes
|
ADD shortcodes /hugo/layouts/shortcodes
|
||||||
ENV PORT=1313
|
ENV PORT=1313
|
||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
ADD content /hugo/content
|
|
||||||
CMD ["hugo", "serve", "--baseURL", "https://blog.gtz.dk/", "--bind", "0.0.0.0", "--port", "$PORT"]
|
CMD ["hugo", "serve", "--baseURL", "https://blog.gtz.dk/", "--bind", "0.0.0.0", "--port", "$PORT"]
|
||||||
|
12
README.md
12
README.md
@ -10,17 +10,11 @@ docker run --rm -it -p 8080:8080 wip hugo serve --bind 0.0.0.0 --port 8080
|
|||||||
|
|
||||||
## Things I want to write
|
## Things I want to write
|
||||||
|
|
||||||
### Opinions
|
### Opinion Piecese
|
||||||
- [ ] Clean Architecture is stupid and overly complicated - dependency injection is king
|
- [ ] Clean Architecture is stupid - dependency injection is king
|
||||||
- [ ] For want of a neater (human) internet
|
|
||||||
- [ ] A truly FOSS printer.
|
|
||||||
even the hardware should be FOSS. - most parts should be 3d printable.
|
|
||||||
should be a laser printer, as inkjet is stupid.
|
|
||||||
- [ ] A truly FOSS eink reader.
|
|
||||||
- [ ] VIM Bindings everywhere please
|
|
||||||
|
|
||||||
### Digital Soverignty
|
### Digital Soverignty
|
||||||
- [x] how to host a blog
|
- [x] how to host a blog
|
||||||
- [ ] how to securely "self-host" using a VPS, portainer and traefik
|
- [ ] how to securely "self-host" using a VPS, portainer and traefik
|
||||||
- [x] how to configure neomutt
|
- [ ] how to configure neomutt
|
||||||
- [ ] how to securely host a mail server
|
- [ ] how to securely host a mail server
|
||||||
|
@ -1,78 +0,0 @@
|
|||||||
+++
|
|
||||||
date = '2024-12-04'
|
|
||||||
draft = true
|
|
||||||
title = "How to Host Docker Containers Easily in The Cloud"
|
|
||||||
tags = ["howto", "tutorial", "web"]
|
|
||||||
categories = ["technical"]
|
|
||||||
+++
|
|
||||||
|
|
||||||
In this post, we will be going over how to set up a [portainer]() managed docker environment, and how to use it.
|
|
||||||
This is ideal if you want to host a personal website, a [blog](/posts/how-to-blog), a personal [github](git.gtz.dk) or whatever your development heart desire.
|
|
||||||
If you choose to follow along, by the end of it, you will have an environment where you can just add or remove docker based services. It's even quite secure!
|
|
||||||
|
|
||||||
## Portainer
|
|
||||||
|
|
||||||
## Traefik
|
|
||||||
|
|
||||||
## Keycloak
|
|
||||||
|
|
||||||
## Automatic backups
|
|
||||||
|
|
||||||
## TODOs
|
|
||||||
- [ ] 2FA the control dashboards through keycloak
|
|
||||||
- [ ] geoblocking the control dashboards
|
|
||||||
- [ ] start the article with a demo of what we'll be making
|
|
||||||
- MAYBE:
|
|
||||||
- [ ] portainer introduction (maybe)
|
|
||||||
- [ ] traefik introduction (maybe)
|
|
||||||
- [ ] add a "skip if you already know portainer and traefik"
|
|
||||||
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
postgresql:
|
|
||||||
image: postgres:16
|
|
||||||
environment:
|
|
||||||
- POSTGRES_USER=keycloak
|
|
||||||
_ POSTGRES_DB=keycloak
|
|
||||||
- POSTGRES_PASSWORD=secret
|
|
||||||
volumes:
|
|
||||||
- postgres-data:/var/lib/postgresql/data
|
|
||||||
networks:
|
|
||||||
- keycloak
|
|
||||||
|
|
||||||
|
|
||||||
keycloak:
|
|
||||||
image: quay.io/keycloa/keycloak:22
|
|
||||||
restart: always
|
|
||||||
command: start
|
|
||||||
depends_on:
|
|
||||||
- postgresql
|
|
||||||
environment:
|
|
||||||
# traefik handles ssl
|
|
||||||
- KC_PROXY_ADDRESS_FORWARDING=true
|
|
||||||
- KC_HOSTNAME_STRUCT=false
|
|
||||||
- KC_HOSTNAME=keycloak.gtz.dk
|
|
||||||
- KC_PROXY=edge
|
|
||||||
- KC_HTTP_ENABLED=true
|
|
||||||
# connect to the postgres thing
|
|
||||||
- DB=keycloak
|
|
||||||
- DB_URL='jdbc:postgresql://postgres:5432/postgresql?ssl=allow'
|
|
||||||
- DB_USERNAME=keycloak
|
|
||||||
- DB_PASSWORD=secret
|
|
||||||
- KEYCLOAK_ADMIN=admin
|
|
||||||
- KEYCLOAK_ADMIN_PASSWORD=admin
|
|
||||||
networks:
|
|
||||||
- proxy
|
|
||||||
- keycloa
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- port=8080
|
|
||||||
|
|
||||||
networks:
|
|
||||||
proxy:
|
|
||||||
external: true
|
|
||||||
keycloak:
|
|
||||||
```
|
|
||||||
|
|
||||||
{{< centered image="/6616144.png" >}}
|
|
@ -1,16 +1,15 @@
|
|||||||
+++
|
+++
|
||||||
date = '2025-01-27'
|
date = '2025-01-27'
|
||||||
draft = false
|
draft = false
|
||||||
title = 'Softmod your Original Xbox Today'
|
title = 'Softmod your Xbox Original Today'
|
||||||
tags = ['technical', 'games', 'modding']
|
tags = ['technical', 'games', 'modding']
|
||||||
categories = ['technical', 'personal']
|
categories = ['technical']
|
||||||
+++
|
+++
|
||||||
|
|
||||||
If you want to skip the personal story, the tutorial part starts [here]({{< ref "xbox-modding.md#softmodding-the-xbox" >}}).
|
|
||||||
|
|
||||||
The original Xbox is a phenominal little machine.
|
The original Xbox is a phenominal little machine.
|
||||||
In this post I will go over my journey of modding my own personal xbox.
|
In this post I will go over my journey of modding my own personal xbox.
|
||||||
Feel free to follow along, but this is mostly just a recollection of my journey for the sake of writing it down.
|
Feel free to follow along, but this is mostly just a recollection of my journey for the sake of writing it down.
|
||||||
|
If you want to skip the personal story, the tutorial part starts [here]().
|
||||||
|
|
||||||
## First Things First
|
## First Things First
|
||||||
If you own an Xbox Original and you haven't removed the clock capacitor yet, DO IT NOW. YOU SHOULD'VE DONE IT SEVERAL
|
If you own an Xbox Original and you haven't removed the clock capacitor yet, DO IT NOW. YOU SHOULD'VE DONE IT SEVERAL
|
||||||
@ -69,40 +68,22 @@ The first game console that I modded was a Wii that I bought on a flea-market fo
|
|||||||
Side tangent: The Wii is the _easiest_ console to softmod. You only need an SDCard - that's it.
|
Side tangent: The Wii is the _easiest_ console to softmod. You only need an SDCard - that's it.
|
||||||
This Wii modding lit a fire under me, and I started taking apart
|
This Wii modding lit a fire under me, and I started taking apart
|
||||||
|
|
||||||
## Softmodding the Xbox {#softmodding-the-xbox}
|
## Softmodding the Xbox
|
||||||
There are a couple of directions you can take when it comes to modding the OG Xbox.
|
There are a couple of directions you can take when it comes to modding the OG Xbox.
|
||||||
I will be exclusively *softmodding* mine, as if I were to solder anything that is required for hardmodding it, I would
|
I will be exclusively *softmodding* mine, as if I were to solder anything that is required for hardmodding it, I would
|
||||||
at best: brick the console, and at worst burn my apartment to the ground.
|
at best brick the console and at worst burn my apartment to the ground.
|
||||||
This mod _does_ require purchasing some hardware though, namely:
|
This mod _does_ require purchasing some hardware, namely:
|
||||||
|
- An xbox (male) to USB (female) adapter.
|
||||||
- **An xbox (male) to USB (female) adapter.**
|
|
||||||
|
|
||||||
These are increasingly difficult to find, so if you tend to drag your feet on projects like these (like I tend to)
|
These are increasingly difficult to find, so if you tend to drag your feet on projects like these (like I tend to)
|
||||||
buy it now! Or you might have to make one yourself - and I just said that soldering is out of the picture for me.
|
buy it now!
|
||||||
It has to look like this:
|
- An older USB stick
|
||||||
|
- A DVD burner
|
||||||
|
- Some (writable / blank) DVDs
|
||||||
|
|
||||||
{{< centered image="/xbox-to-usb.png" style="width: 40%" >}}
|
TODO:
|
||||||
|
- Full list of required hardware
|
||||||
- **An older USB stick.**
|
|
||||||
|
|
||||||
The Xbox will reject most modern USB flash drives - it has to be a fairly small one (I used a 4GiB one), and no, you
|
|
||||||
cannot just set the partition sizes to be small, the physical hardware has to be old. You probably have one lying
|
|
||||||
around, or your parents might have one in their "random electronics" drawer.
|
|
||||||
|
|
||||||
- **A DVD burner and some (writable and blank) DVDs.**
|
|
||||||
|
|
||||||
This is mostly just to burn a single DVD with the softmodding tools on it. I think you can buy pre-burned discs, but
|
|
||||||
if you have a DVD burner (generally just a good doohickey to have), it's much easier to just use `xfburn` to burn the
|
|
||||||
disc yourself.
|
|
||||||
|
|
||||||
### Software
|
|
||||||
I am using GNU/Linunx, but all of these are also available on Microsoft Windows - I haven't checked if OSX have these,
|
|
||||||
but I wouldn't be surprised to find that they also work there.
|
|
||||||
|
|
||||||
- `xfburn` for burning DVDs.
|
|
||||||
|
|
||||||
## TODO:
|
|
||||||
- Link to MrMario (check for peertube link as a backup)
|
- Link to MrMario (check for peertube link as a backup)
|
||||||
|
- Xbox Controller USB thingy
|
||||||
- Xbox softmodding tool disc
|
- Xbox softmodding tool disc
|
||||||
- Extras (chimp)
|
- Extras (chimp)
|
||||||
- Holy crap the IDE hot-swapping
|
- Holy crap the IDE hot-swapping
|
||||||
@ -112,9 +93,4 @@ Now that we have softmodded it, we can choose to upgrade the aging IDE harddrive
|
|||||||
harddrive! This is totally optional, but I highly recommend it as it'll enable you to store many more games on the
|
harddrive! This is totally optional, but I highly recommend it as it'll enable you to store many more games on the
|
||||||
console itself, rather than mucking about with DVD discs and a dying DVD drive.
|
console itself, rather than mucking about with DVD discs and a dying DVD drive.
|
||||||
|
|
||||||
## Thanks
|
|
||||||
I would like to thank [bringus studios](https://www.youtube.com/@BringusStudios) for keeping the interest of console
|
|
||||||
hacking alive and a special thanks to [mr mario](https://www.youtube.com/@MrMario2011) for his fantastic tutorials.
|
|
||||||
Please check both of these creators out.
|
|
||||||
|
|
||||||
{{< centered image="/6616144.png" >}}
|
{{< centered image="/6616144.png" >}}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img alt="example" src="{{.Get `image`}}" style="max-width: 100%; {{.Get `style`}}">
|
<img alt="example" src="{{.Get `image`}}" style="max-width: 100%;">
|
||||||
</p>
|
</p>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 79 KiB |
Reference in New Issue
Block a user