-
Notifications
You must be signed in to change notification settings - Fork 0
Add Obsidian (with git sync), Eclipse Mosquitto, Gitea, ESPHome and MS SQL Server 2025 #207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
51b1993
Add Obsidian (with git sync), configure backup task
bubacoder 9a3e228
Add Eclipse Mosquitto
bubacoder dd140b3
Add YAML schema for services.yaml
bubacoder 7cacb96
Add Gitea
bubacoder 0364bcd
Add ESPHome Device Builder
bubacoder 654fd07
Improve Claude Code container deployment command
bubacoder 8331b9d
Implement "service logs" labctl command
bubacoder 6579fce
Add Microsoft SQL Server 2025
bubacoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,51 @@ | ||
| # YAML Schema definition for the Docker service configuration file | ||
|
|
||
| $schema: http://json-schema.org/draft-07/schema# | ||
| title: Docker Service Configuration | ||
| description: Configuration schema for Docker services in a homelab environment | ||
| type: object | ||
|
|
||
| properties: | ||
| services: | ||
| type: array | ||
| description: Categories of Docker services | ||
| items: | ||
| type: object | ||
| additionalProperties: | ||
| type: array | ||
| description: List of services in a specific category | ||
| items: | ||
| type: object | ||
| required: | ||
| - name | ||
| - state | ||
| properties: | ||
| name: | ||
| type: string | ||
| description: Name of the Docker service | ||
| state: | ||
| type: string | ||
| description: Current state of the service | ||
| enum: | ||
| - up | ||
| - down | ||
| note: | ||
| type: string | ||
| description: Optional note about the service | ||
|
|
||
| examples: | ||
| - services: | ||
| - security: | ||
| - name: crowdsec | ||
| state: up | ||
| - name: traefik | ||
| state: up | ||
| - dashboard: | ||
| - name: homepage | ||
| state: up | ||
| - media/video: | ||
| - name: jellyfin | ||
| state: up | ||
| note: Storage on NAS | ||
|
|
||
| additionalProperties: false |
This file contains hidden or 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 hidden or 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,44 @@ | ||
| # ESPHome Device Builder is a tool for creating custom firmware for ESP8266/ESP32 microcontrollers | ||
| # through simple YAML configuration files and managing them through Home Automation systems like Home Assistant. | ||
| # | ||
| # 🏠 Home: https://esphome.io | ||
| # 📦 Source: https://github.com/esphome/esphome | ||
| # 📜 Docs: https://esphome.io/guides/getting_started_command_line/#bonus-esphome-device-builder | ||
| # Docker: https://hub.docker.com/r/esphome/esphome | ||
| # | ||
| # TODO: Consider implementing non-privileged mode with specific device permissions for improved security | ||
| # TODO: Set up udev rules for automatic USB device discovery | ||
| --- | ||
| name: esphome-device-builder | ||
| services: | ||
| esphome-device-builder: | ||
| image: esphome/esphome:2025.9 | ||
| container_name: esphome-device-builder | ||
| restart: unless-stopped | ||
| network_mode: host | ||
| environment: | ||
| TZ: ${TIMEZONE} | ||
| PUID: ${PUID} | ||
| PGID: ${PGID} | ||
| # kics-scan ignore-block | ||
| volumes: | ||
| - /etc/localtime:/etc/localtime:ro | ||
| # Not needed due to 'network_mode: host' | ||
| # ports: | ||
| # - "6052:6052" | ||
| # Required for USB device access | ||
| # kics-scan ignore-line | ||
| # privileged: true | ||
| # For USB device passthrough (uncomment and adjust as needed): | ||
| # devices: | ||
| # - /dev/ttyUSB0:/dev/ttyUSB0 | ||
| labels: | ||
| traefik.enable: true | ||
| traefik.http.routers.esphome-device-builder.rule: Host(`esphome.${MYDOMAIN}`) | ||
| traefik.http.routers.esphome-device-builder.middlewares: localaccess@file | ||
| traefik.http.services.esphome-device-builder.loadbalancer.server.port: 6052 | ||
| homepage.group: Automation | ||
| homepage.name: ESPHome Builder | ||
| homepage.icon: esphome.png | ||
| homepage.href: https://esphome.${MYDOMAIN}/ | ||
| homepage.description: "Firmware builder for ESP devices" | ||
|
bubacoder marked this conversation as resolved.
|
||
This file contains hidden or 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,45 @@ | ||
| # Eclipse Mosquitto is an open-source MQTT broker implementing versions 5.0, 3.1.1, and 3.1 of the MQTT protocol. | ||
| # It is lightweight and suitable for devices from single board computers to full servers, providing publish/subscribe | ||
| # messaging capabilities with support for TLS, WebSockets, and various authentication methods. | ||
| # | ||
| # 🏠 Home: https://mosquitto.org/ | ||
| # 📦 Source: https://github.com/eclipse/mosquitto | ||
| # 📜 Docs: https://hub.docker.com/_/eclipse-mosquitto | ||
| # Configure Authentication: https://mosquitto.org/documentation/authentication-methods/ | ||
| # | ||
| # TODO: Consider enabling TLS/SSL certificates for secure connections on port 8883 | ||
| # TODO: Implement authentication with password file and ACL for access control | ||
| # TODO: Configure performance tuning for high-throughput environments (max_connections, max_queued_messages) | ||
| --- | ||
| name: mosquitto | ||
| services: | ||
| mosquitto: | ||
| image: eclipse-mosquitto:2.0.22-openssl | ||
| container_name: mosquitto | ||
| restart: unless-stopped | ||
| environment: | ||
| TZ: ${TIMEZONE} | ||
| ports: | ||
| - "1883:1883" # Standard MQTT | ||
| - "8883:8883" # MQTT over TLS | ||
| - "9001:9001" # WebSockets | ||
| volumes: | ||
| - ./mosquitto:/mosquitto/config | ||
| - ${DOCKER_VOLUMES}/mosquitto/data:/mosquitto/data | ||
| - ${DOCKER_VOLUMES}/mosquitto/log:/mosquitto/log | ||
| networks: | ||
| - proxy | ||
| labels: | ||
| traefik.enable: true | ||
| traefik.http.routers.mosquitto.rule: Host(`mosquitto.${MYDOMAIN}`) | ||
| traefik.http.routers.mosquitto.middlewares: localaccess@file | ||
| traefik.http.services.mosquitto.loadbalancer.server.port: 9001 | ||
| homepage.group: Automation | ||
| homepage.name: Eclipse Mosquitto | ||
| homepage.icon: mosquitto.png | ||
| homepage.href: https://mosquitto.${MYDOMAIN}/ | ||
| homepage.description: "Open-source MQTT broker" | ||
|
|
||
| networks: | ||
| proxy: | ||
| external: true |
This file contains hidden or 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,36 @@ | ||
| # Eclipse Mosquitto Configuration File | ||
| # More information: https://mosquitto.org/man/mosquitto-conf-5.html | ||
|
|
||
| # Persistence settings | ||
| persistence true | ||
| persistence_location /mosquitto/data/ | ||
|
|
||
| # Logging settings | ||
| log_dest file /mosquitto/log/mosquitto.log | ||
| log_type error | ||
| log_type warning | ||
| log_type notice | ||
| log_type information | ||
|
|
||
| # Connection settings | ||
| allow_anonymous true | ||
|
|
||
| # Default MQTT port | ||
| listener 1883 | ||
|
|
||
| # WebSocket port for web clients | ||
| listener 9001 | ||
| protocol websockets | ||
|
|
||
| # TLS/SSL settings (uncomment and configure certificates if needed) | ||
| # listener 8883 | ||
| # cafile /mosquitto/config/ca.crt | ||
| # certfile /mosquitto/config/server.crt | ||
| # keyfile /mosquitto/config/server.key | ||
|
|
||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| # Authentication settings (uncomment to enable) | ||
| # allow_anonymous false | ||
| # password_file /mosquitto/config/passwd | ||
|
|
||
| # Access Control List (uncomment to enable) | ||
| # acl_file /mosquitto/config/acl.conf | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.