diff --git a/.github/workflows/lint-markdown.yml b/.github/workflows/lint-markdown.yml index 64db6ed..d3068da 100644 --- a/.github/workflows/lint-markdown.yml +++ b/.github/workflows/lint-markdown.yml @@ -12,9 +12,9 @@ jobs: markdownlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: DavidAnson/markdownlint-cli2-action@v25 + - uses: DavidAnson/markdownlint-cli2-action@696eb3f2509270d7b882d2aa68347bc676e7af34 # v25.0.0 with: globs: "**/*.md" diff --git a/pihole/.env.example b/pihole/.env.example index c2c1bec..824f82b 100644 --- a/pihole/.env.example +++ b/pihole/.env.example @@ -1,3 +1,6 @@ +# Container hostname (shown in the Pi-hole UI) +PIHOLE_HOSTNAME=pihole + # Local domain to access Pi-hole web UI PIHOLE_LOCAL_DOMAIN=pihole.local diff --git a/pihole/README.md b/pihole/README.md index 1b29c97..9a13811 100644 --- a/pihole/README.md +++ b/pihole/README.md @@ -8,6 +8,7 @@ and `SYS_NICE` capabilities for DNS/DHCP operations. | Variable | Description | |-----------------------|----------------------------------------| +| `PIHOLE_HOSTNAME` | Container hostname | | `PIHOLE_WEB_PASSWORD` | Password for the web admin interface | | `PIHOLE_LOCAL_DOMAIN` | Domain to access the web interface | diff --git a/pihole/docker-compose.yml b/pihole/docker-compose.yml index cfdc139..ef6d9d3 100644 --- a/pihole/docker-compose.yml +++ b/pihole/docker-compose.yml @@ -2,7 +2,7 @@ services: pihole: image: pihole/pihole:latest container_name: pihole - hostname: tuckfow-home + hostname: ${PIHOLE_HOSTNAME:?PIHOLE_HOSTNAME is required} restart: unless-stopped cap_add: - NET_ADMIN diff --git a/plex/.env.example b/plex/.env.example index 1165588..00421e4 100644 --- a/plex/.env.example +++ b/plex/.env.example @@ -1,3 +1,6 @@ +# Container hostname (Plex uses it as the default server name) +PLEX_HOSTNAME=plex + # Plex local IP PLEX_LOCAL_IP=x.x.x.x diff --git a/plex/README.md b/plex/README.md index 3a71572..47f25f0 100644 --- a/plex/README.md +++ b/plex/README.md @@ -7,6 +7,7 @@ organizing and streaming movies, TV shows and music. | Variable | Description | |---------------------|----------------------------------------------------| +| `PLEX_HOSTNAME` | Container hostname (default Plex server name) | | `PLEX_MOUNTED_DATA` | Host path where the media folders are mounted | | `PLEX_LOCAL_IP` | Local IP of the server running Plex | | `PLEX_CLAIM` | Optional claim token, only for the first setup | diff --git a/plex/docker-compose.yml b/plex/docker-compose.yml index 46c9395..f6f90d3 100644 --- a/plex/docker-compose.yml +++ b/plex/docker-compose.yml @@ -2,7 +2,7 @@ services: plex: image: linuxserver/plex:latest container_name: plex - hostname: tuckfow-home + hostname: ${PLEX_HOSTNAME:?PLEX_HOSTNAME is required} restart: unless-stopped devices: - /dev/dri:/dev/dri