Skip to content
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

New templates + Improvement #44

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"postCreateCommand": "pip3 install jinja2-cli",
"remoteUser": "root",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/homelab-lxc,type=bind,consistency=cached,Z=true",
"workspaceFolder": "/workspace",
"mounts": [
"source=/run/user/1000/podman/podman.sock,target=/var/run/docker.sock,type=bind,consistency=cached"
]
}
5 changes: 3 additions & 2 deletions .github/workflows/build-apisix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-apisix.yml'
- 'templates/apisix.yml'
- 'templates/apisix.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/apisix.yml
config_path: templates/apisix.yml.j2
app_name: apisix
app_version: ${{needs.init.outputs.app_version}}
app_ports: 80, 9000, 9080, 9443
description: Full Lifecycle API Management platform to help you manage microservices, delivering the ultimate performance and security.
categories: Loadbalancer, API Gateway, Reverse Proxy
project_source: https://github.com/apache/apisix
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-gitea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-gitea.yml'
- 'templates/gitea.yml'
- 'templates/gitea.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/gitea.yml
config_path: templates/gitea.yml.j2
app_name: gitea
app_version: ${{needs.init.outputs.app_version}}
app_port: 3000
description: Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD.
categories: Git, CI CD, Dev
project_source: https://github.com/go-gitea/gitea
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-homarr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-homarr.yml'
- 'templates/homarr.yml'
- 'templates/homarr.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/homarr.yml
config_path: templates/homarr.yml.j2
app_name: homarr
app_version: ${{needs.init.outputs.app_version}}
app_ports: 7575
description: A simple, yet powerful dashboard for your server.
categories: Homepage
project_source: https://github.com/ajnart/homarr
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-infisical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-infisical.yml'
- 'templates/infisical.yml'
- 'templates/infisical.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -35,9 +35,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/infisical.yml
config_path: templates/infisical.yml.j2
app_name: infisical
app_version: ${{needs.init.outputs.app_version}}
app_ports: 8080
description: Open Source all-in-one secret management platform to securely manage application configuration and secrets across your team and infrastructure.
categories: Secrets management, Security
project_source: https://github.com/Infisical/infisical
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-ittools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-ittools.yml'
- 'templates/ittools.yml'
- 'templates/ittools.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/ittools.yml
config_path: templates/ittools.yml.j2
app_name: it-tools
app_version: ${{needs.init.outputs.app_version}}
app_ports: 80
description: Useful tools for developers and peoples working in IT.
categories: Dev, Collection
project_source: https://github.com/CorentinTh/it-tools
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-jellyfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-jellyfin.yml'
- 'templates/jellyfin.yml'
- 'templates/jellyfin.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/jellyfin.yml
config_path: templates/jellyfin.yml.j2
app_name: jellyfin
app_version: ${{needs.init.outputs.app_version}}
app_ports: 8096
description: A Free Software Media System to collect, manage, and stream your media.
categories: Media, Streaming
project_source: https://github.com/jellyfin/jellyfin
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/build-jellyseerr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build Jellyseerr LXC Image

on:
pull_request:
types:
- opened
- reopened
- closed
branches:
- main
paths:
- '.github/workflows/build-jellyseerr.yml'
- 'templates/jellyseerr.yml.j2'
schedule:
- cron: '0 3 */1 * *'

jobs:
init:
if: github.event.action != 'closed' || (github.event.action == 'closed' && github.event.pull_request.merged)
runs-on: ubuntu-latest
steps:
- name: Get Application version
id: get-app-version
run: |
echo "APP_VERSION=$(curl -s https://api.github.com/repos/Fallenbagel/jellyseerr/releases/latest | jq -r '.tag_name' | sed -E 's/^v|V//')" >> $GITHUB_OUTPUT
outputs:
app_version: ${{steps.get-app-version.outputs.APP_VERSION}}

image-build:
needs: init
strategy:
matrix:
architectures:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/jellyseerr.yml.j2
app_name: jellyseerr
app_version: ${{needs.init.outputs.app_version}}
app_ports: 8096
description: Open source software application for managing requests for your media library.
categories: Media, Streaming
project_source: https://github.com/Fallenbagel/jellyseerr
distribution: debian
release: bookworm
architecture: ${{matrix.architectures}}
branch_name: ${{github.event.pull_request.base.ref}}
is_merged: ${{github.event.pull_request.merged || github.event_name == 'schedule'}}
secrets: inherit
5 changes: 3 additions & 2 deletions .github/workflows/build-jenkins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-jenkins.yml'
- 'templates/jenkins.yml'
- 'templates/jenkins.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/jenkins.yml
config_path: templates/jenkins.yml.j2
app_name: jenkins
app_version: ${{needs.init.outputs.app_version}}
app_ports: 8080
description: The leading open source automation server. Build great things at any scale.
categories: Automation, CI CD, Dev
project_source: https://github.com/jenkinsci/jenkins
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-jupyterlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-jupyterlab.yml'
- 'templates/jupyterlab.yml'
- 'templates/jupyterlab.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/jupyterlab.yml
config_path: templates/jupyterlab.yml.j2
app_name: jupyterlab
app_version: ${{needs.init.outputs.app_version}}
app_ports: 8888
description: JupyterLab is the latest web-based interactive development environment for notebooks, code, and data.
categories: IDE, Python, Dev
project_source: https://github.com/jupyterlab/jupyterlab
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-keycloak.yml'
- 'templates/keycloak.yml'
- 'templates/keycloak.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/keycloak.yml
config_path: templates/keycloak.yml.j2
app_name: keycloak
app_version: ${{needs.init.outputs.app_version}}
app_ports: 8080
description: Open Source Identity and Access Management.
categories: Identity, IAM, IDP, Security
project_source: https://github.com/keycloak/keycloak
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-matomo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-matomo.yml'
- 'templates/matomo.yml'
- 'templates/matomo.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/matomo.yml
config_path: templates/matomo.yml.j2
app_name: matomo
app_version: ${{needs.init.outputs.app_version}}
app_port: 80
description: Google Analytics alternative that protects your data and your customers' privacy.
categories: Analytics, SEO, Tracking
project_source: https://github.com/matomo-org/matomo
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-n8n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-n8n.yml'
- 'templates/n8n.yml'
- 'templates/n8n.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/n8n.yml
config_path: templates/n8n.yml.j2
app_name: n8n
app_version: ${{needs.init.outputs.app_version}}
app_ports: 5678
description: n8n is a free and source-available workflow automation tool.
categories: Automation, Workflows
project_source: https://github.com/n8n-io/n8n
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-nextcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
paths:
- '.github/workflows/build-nextcloud.yml'
- 'templates/nextcloud.yml'
- 'templates/nextcloud.yml.j2'
schedule:
- cron: '0 3 */1 * *'

Expand All @@ -34,9 +34,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/nextcloud.yml
config_path: templates/nextcloud.yml.j2
app_name: nextcloud
app_version: ${{needs.init.outputs.app_version}}
app_ports: 80, 8080, 8443
description: Fully open-source, on-premises content collaboration platform.
categories: Personal Cloud, Data Privacy
project_source: https://github.com/nextcloud/server
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/build-servarr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build ServARR LXC Image

on:
pull_request:
types:
- opened
- reopened
- closed
branches:
- main
paths:
- '.github/workflows/build-servarr.yml'
- 'templates/servarr.yml.j2'
schedule:
- cron: '0 0 1 * *'

jobs:
init:
if: github.event.action != 'closed' || (github.event.action == 'closed' && github.event.pull_request.merged)
runs-on: ubuntu-latest
steps:
- name: Get Application version
id: get-app-version
run: |
echo "APP_VERSION=$(date +%Y-%m)" >> $GITHUB_OUTPUT
outputs:
app_version: ${{steps.get-app-version.outputs.APP_VERSION}}

image-build:
needs: init
strategy:
matrix:
architectures:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/servarr.yml.j2
app_name: servarr
app_version: ${{needs.init.outputs.app_version}}
app_ports: 8080, 8081, 8686, 7878, 8787, 8989, 6969, 9696, 8191, 6767 # QBitTorrent, SABnzbd, Lidarr, Radarr, Readarr, Sonaar, Whisparr, Prowlarr, FlareSolverr, Bazarr
description: |
Media organizer/manager stack (ARR) for usenet and torrent users.
This stack includes:
QBitTorrent, SABnzbd, Lidarr, Radarr, Readarr, Sonaar, Whisparr, Prowlarr, FlareSolverr, Bazarr
categories: Movies, TV, Torrent
project_source: https://wiki.servarr.com
distribution: debian
release: bookworm
architecture: ${{matrix.architectures}}
branch_name: ${{github.event.pull_request.base.ref}}
is_merged: ${{github.event.pull_request.merged || github.event_name == 'schedule'}}
secrets: inherit
3 changes: 2 additions & 1 deletion .github/workflows/build-tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
- amd64
uses: ./.github/workflows/builder.yml
with:
config_path: templates/debian-test.yml
config_path: templates/debian-test.yml.j2
app_name: dummy_app
app_version: '0.0.0'
app_ports: 22
description: Dummy test
categories: test, dummy
project_source: https://github.com/soubinan/homelab-lxc
Expand Down
Loading