docs: some more updates

This commit is contained in:
2025-07-11 10:28:52 +02:00
parent 6313bc5ec7
commit a05fcb8ade

View File

@@ -1,5 +1,5 @@
<div align="center">
<img src="https://git.max-richter.dev/attachments/386c10bb-155f-4732-8db8-cca8319f93f0" width="30%"/>
<img src="https://git.max-richter.dev/attachments/3cea8ffa-57cc-4faf-a973-7a3b34a012e0" width="30%"/>
<h2 align="center">LocalCerts</h2>
<p align="center">
Automatic HTTPS and local domain routing for Docker Compose services using <a href="https://github.com/traefik/traefik">Traefik</a>, <a href="https://github.com/mageddo/dns-proxy-server">DPS</a> and <a href="https://github.com/smallstep/certificates">Step-CA</a>.
@@ -118,9 +118,10 @@ docker compose exec step step ca provisioner update acme \
### Create a shell script to start/stop general services
I often use `dbgate` to interact with databases. For services like that i setup a `services/compose.yml` inside this directory where I define each service i use with a custom profile so that i can start and stop them individually.
I often use tools like dbgate to interact with databases. For such utilities, I maintain a services/compose.yml file in this directory, where each service is defined with a custom profile. This setup allows me to start and stop individual services as needed.
If you use the preconfigured services, you can add the following snippet to you `.bashrc`/`.zshrc` to easily start, stop, and manage the services. Make sure to update the `PROJECT_DIR` variable to point to the correct directory.
```shell
dev () {
PROJECT_DIR="$HOME/Projects/dev/services"