Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b76d612d55 | ||
|
|
8dc7ad3d90 | ||
|
|
0c605c4dfb | ||
|
|
2a063481a6 | ||
|
|
2fbeeef59d | ||
|
|
84f0f43ae8 | ||
|
|
6e6e49a2d4 | ||
|
|
46b1dc94e1 | ||
|
|
e567811dfb | ||
|
|
f0fe1bb4e9 | ||
|
|
9f1429a78c | ||
|
|
3ea0abcf7e | ||
|
|
2d5d19b295 | ||
|
|
cdf8ea98a1 | ||
|
|
e8f617ba06 | ||
|
|
3e93e5cc58 | ||
|
|
2682f11392 | ||
|
|
3a21ae1abc | ||
|
|
1ec3f0a891 |
No files matched your search
@@ -0,0 +1,46 @@
|
|||||||
|
# Version control
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
|
||||||
|
# Gitea metadata and local CI files
|
||||||
|
.gitea
|
||||||
|
|
||||||
|
# IDE/editor files
|
||||||
|
.idea
|
||||||
|
.vscode
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
||||||
|
# OS files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
desktop.ini
|
||||||
|
|
||||||
|
# Environment and secrets
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
||||||
|
# Dependencies and build output
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
build
|
||||||
|
coverage
|
||||||
|
|
||||||
|
# Logs and runtime artifacts
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# Temporary/cache files
|
||||||
|
tmp
|
||||||
|
temp
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# Local-only Docker files
|
||||||
|
docker-compose*.yml
|
||||||
|
docker-compose*.yaml
|
||||||
@@ -1 +1,2 @@
|
|||||||
|
IMAGE_TAG=latest
|
||||||
MAIN_PORT=8080
|
MAIN_PORT=8080
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
name: Create Gitea release
|
||||||
|
description: Create or update a stable release or prerelease for the current commit
|
||||||
|
inputs:
|
||||||
|
token:
|
||||||
|
required: true
|
||||||
|
description: Gitea API token
|
||||||
|
prerelease:
|
||||||
|
required: true
|
||||||
|
description: Whether to publish a prerelease
|
||||||
|
runs:
|
||||||
|
using: composite
|
||||||
|
steps:
|
||||||
|
- name: Create or update Gitea release
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ inputs.token }}
|
||||||
|
GITEA_API_URL: ${{ gitea.api_url }}
|
||||||
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
|
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
||||||
|
GITEA_SHA: ${{ gitea.sha }}
|
||||||
|
RELEASE_IS_PRERELEASE: ${{ inputs.prerelease }}
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
version="$(git rev-parse --short=12 "$GITEA_SHA")"
|
||||||
|
if [[ ! "$version" =~ ^[0-9a-f]{12}$ ]]; then
|
||||||
|
echo "Invalid git hash version: $version" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
release_tag="v$version"
|
||||||
|
if [ "$RELEASE_IS_PRERELEASE" = true ]; then
|
||||||
|
release_tag="$release_tag-dev"
|
||||||
|
fi
|
||||||
|
|
||||||
|
releases_url="$GITEA_API_URL/repos/$GITEA_REPOSITORY/releases"
|
||||||
|
auth_header="Authorization: token $GITEA_TOKEN"
|
||||||
|
previous_tag="$(curl --fail --silent --show-error --header "$auth_header" "$releases_url?limit=100" | jq -r --arg tag "$release_tag" --argjson prerelease "$RELEASE_IS_PRERELEASE" '[.[] | select(.draft == false and .prerelease == $prerelease and .tag_name != $tag)][0].tag_name // empty')"
|
||||||
|
|
||||||
|
if [ -n "$previous_tag" ]; then
|
||||||
|
commit_messages="$(git log --reverse --format='- %s' "${previous_tag}..${GITEA_SHA}")"
|
||||||
|
full_changelog="$GITEA_SERVER_URL/$GITEA_REPOSITORY/compare/${previous_tag}...$release_tag"
|
||||||
|
else
|
||||||
|
commit_messages="$(git log --reverse --format='- %s' "$GITEA_SHA")"
|
||||||
|
full_changelog=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$commit_messages" ]; then
|
||||||
|
commit_messages="- No commits since the previous release"
|
||||||
|
fi
|
||||||
|
|
||||||
|
{
|
||||||
|
echo '## Changes'
|
||||||
|
echo
|
||||||
|
printf '%s\n' "$commit_messages"
|
||||||
|
echo
|
||||||
|
if [ -n "$full_changelog" ]; then
|
||||||
|
echo "**Full Changelog**: $full_changelog"
|
||||||
|
fi
|
||||||
|
} > release-notes.md
|
||||||
|
|
||||||
|
payload="$(jq -Rs --arg tag "$release_tag" --arg target "$GITEA_SHA" --argjson prerelease "$RELEASE_IS_PRERELEASE" '{tag_name: $tag, target_commitish: $target, name: $tag, body: ., draft: false, prerelease: $prerelease}' release-notes.md)"
|
||||||
|
status="$(curl --silent --show-error --output release.json --write-out '%{http_code}' --header "$auth_header" "$releases_url/tags/$release_tag")"
|
||||||
|
|
||||||
|
if [ "$status" = 200 ]; then
|
||||||
|
release_id="$(jq -r '.id' release.json)"
|
||||||
|
curl --fail-with-body --silent --show-error --request PATCH --header "$auth_header" --header 'Content-Type: application/json' --data "$payload" "$releases_url/$release_id"
|
||||||
|
elif [ "$status" = 404 ]; then
|
||||||
|
curl --fail-with-body --silent --show-error --request POST --header "$auth_header" --header 'Content-Type: application/json' --data "$payload" "$releases_url"
|
||||||
|
else
|
||||||
|
cat release.json
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
name: Publish Docker image
|
||||||
|
description: Build and push the maintenance image
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
required: true
|
||||||
|
description: Docker image tag
|
||||||
|
username:
|
||||||
|
required: true
|
||||||
|
description: Registry username
|
||||||
|
password:
|
||||||
|
required: true
|
||||||
|
description: Registry password
|
||||||
|
runs:
|
||||||
|
using: composite
|
||||||
|
steps:
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v4.4.1
|
||||||
|
|
||||||
|
- name: Log in to registry
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
REGISTRY_USERNAME: ${{ inputs.username }}
|
||||||
|
REGISTRY_PASSWORD: ${{ inputs.password }}
|
||||||
|
run: printf '%s' "$REGISTRY_PASSWORD" | docker login "$REGISTRY" --username "$REGISTRY_USERNAME" --password-stdin
|
||||||
|
|
||||||
|
- name: Build and push image
|
||||||
|
uses: docker/build-push-action@v7.4.0
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
provenance: false
|
||||||
|
build-args: |
|
||||||
|
APP_VERSION=${{ gitea.sha }}
|
||||||
|
VCS_REF=${{ gitea.sha }}
|
||||||
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.tag }}
|
||||||
|
labels: |
|
||||||
|
org.opencontainers.image.version=${{ gitea.sha }}
|
||||||
|
org.opencontainers.image.revision=${{ gitea.sha }}
|
||||||
|
org.opencontainers.image.source=${{ gitea.repositoryUrl }}
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
name: CD Development
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 23 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
actions: read
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY: docker.lechner-systems.at
|
||||||
|
IMAGE_NAME: lechnersystems/maintenance
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
changes:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
changed: ${{ steps.check.outputs.changed }}
|
||||||
|
steps:
|
||||||
|
- name: Check for commits since previous successful development release
|
||||||
|
id: check
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
GITEA_API_URL: ${{ gitea.api_url }}
|
||||||
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
|
GITEA_SHA: ${{ gitea.sha }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
runs_url="$GITEA_API_URL/repos/$GITEA_REPOSITORY/actions/runs?limit=100"
|
||||||
|
runs="$(curl --fail --silent --show-error --header "Authorization: token $GITEA_TOKEN" "$runs_url")"
|
||||||
|
previous_sha="$(jq -r --arg path '.gitea/workflows/CD Development.yml' '[.workflow_runs[] | select(.path == $path and .status == "success")][0].head_sha // empty' <<< "$runs")"
|
||||||
|
|
||||||
|
if [ "$previous_sha" = "$GITEA_SHA" ]; then
|
||||||
|
echo 'changed=false' >> "$GITEA_OUTPUT"
|
||||||
|
echo 'No changes since previous successful development release.'
|
||||||
|
else
|
||||||
|
echo 'changed=true' >> "$GITEA_OUTPUT"
|
||||||
|
echo 'Changes found; development release will run.'
|
||||||
|
fi
|
||||||
|
|
||||||
|
publish:
|
||||||
|
needs: changes
|
||||||
|
if: needs.changes.outputs.changed == 'true'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v7.0.1
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Publish Docker image
|
||||||
|
uses: ./.gitea/actions/publish-image
|
||||||
|
with:
|
||||||
|
tag: dev
|
||||||
|
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Create Gitea prerelease
|
||||||
|
uses: ./.gitea/actions/create-release
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
prerelease: 'true'
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
name: CD Production
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY: docker.lechner-systems.at
|
||||||
|
IMAGE_NAME: lechnersystems/maintenance
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v7.0.1
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Publish Docker image
|
||||||
|
uses: ./.gitea/actions/publish-image
|
||||||
|
with:
|
||||||
|
tag: latest
|
||||||
|
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Create Gitea stable release
|
||||||
|
uses: ./.gitea/actions/create-release
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
prerelease: 'false'
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY: docker.lechner-systems.at
|
||||||
|
IMAGE_NAME: lechnersystems/maintenance
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
javascript:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v7.0.1
|
||||||
|
|
||||||
|
- name: Check JavaScript syntax
|
||||||
|
run: node --check script.js
|
||||||
|
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v7.0.1
|
||||||
|
|
||||||
|
- name: Build Docker image
|
||||||
|
run: docker build --build-arg APP_VERSION=${{ gitea.sha }} --build-arg VCS_REF=${{ gitea.sha }} --tag "$REGISTRY/$IMAGE_NAME:ci-${{ gitea.sha }}" .
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
|
||||||
patreon: # Replace with a single patreon username
|
|
||||||
open_collective: # Replace with a single Open Collective username
|
|
||||||
ko_fi: fraujulian
|
|
||||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
||||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
||||||
liberapay: # Replace with a single Liberapay username
|
|
||||||
issuehunt: # Replace with a single IssueHunt username
|
|
||||||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
|
||||||
polar: # Replace with a single Polar username
|
|
||||||
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
|
|
||||||
thanks_dev: # Replace with a single thanks dev username
|
|
||||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
name: Build Docker Image - Dev
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: docker.lechner-systems.at
|
|
||||||
IMAGE_NAME: lechnersystems/maintenance
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Read version
|
|
||||||
id: version
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
version="$(git rev-parse --short=12 HEAD)"
|
|
||||||
|
|
||||||
if [[ ! "$version" =~ ^[0-9a-f]{12}$ ]]; then
|
|
||||||
echo "Invalid git hash version: $version" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "value=$version" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "docker_tag=$version" >> "$GITHUB_OUTPUT"
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Log in to registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Build and push dev image
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
provenance: false
|
|
||||||
build-args: |
|
|
||||||
APP_VERSION=${{ steps.version.outputs.value }}
|
|
||||||
VCS_REF=${{ github.sha }}
|
|
||||||
tags: |
|
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
|
||||||
labels: |
|
|
||||||
org.opencontainers.image.version=${{ steps.version.outputs.value }}
|
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
|
||||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
|
||||||
@@ -1,105 +0,0 @@
|
|||||||
name: Build Docker Image - Latest
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
create_release:
|
|
||||||
description: Create or update the GitHub release for this version
|
|
||||||
required: true
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: docker.lechner-systems.at
|
|
||||||
IMAGE_NAME: lechnersystems/maintenance
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Read version
|
|
||||||
id: version
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
version="$(git rev-parse --short=12 HEAD)"
|
|
||||||
|
|
||||||
if [[ ! "$version" =~ ^[0-9a-f]{12}$ ]]; then
|
|
||||||
echo "Invalid git hash version: $version" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "value=$version" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "docker_tag=$version" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "release_tag=v$version" >> "$GITHUB_OUTPUT"
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Log in to registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Build and push latest image
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
provenance: false
|
|
||||||
build-args: |
|
|
||||||
APP_VERSION=${{ steps.version.outputs.value }}
|
|
||||||
VCS_REF=${{ github.sha }}
|
|
||||||
tags: |
|
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.docker_tag }}
|
|
||||||
labels: |
|
|
||||||
org.opencontainers.image.version=${{ steps.version.outputs.value }}
|
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
|
||||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
|
||||||
|
|
||||||
- name: Create GitHub release
|
|
||||||
if: ${{ inputs.create_release }}
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
RELEASE_TAG: ${{ steps.version.outputs.release_tag }}
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
previous_tag="$(gh release list --exclude-drafts --exclude-pre-releases --limit 100 --json tagName --jq '.[].tagName' | grep -Fxv "$RELEASE_TAG" | head -n 1 || true)"
|
|
||||||
|
|
||||||
if [ -n "$previous_tag" ]; then
|
|
||||||
commit_messages="$(git log --reverse --format='- %s' "${previous_tag}..${GITHUB_SHA}")"
|
|
||||||
full_changelog="https://github.com/${{ github.repository }}/compare/${previous_tag}...${RELEASE_TAG}"
|
|
||||||
else
|
|
||||||
commit_messages="$(git log --reverse --format='- %s' "${GITHUB_SHA}")"
|
|
||||||
full_changelog=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$commit_messages" ]; then
|
|
||||||
commit_messages="- No commits since the previous release"
|
|
||||||
fi
|
|
||||||
|
|
||||||
{
|
|
||||||
echo "## Changes"
|
|
||||||
echo
|
|
||||||
printf "%s\n" "$commit_messages"
|
|
||||||
echo
|
|
||||||
if [ -n "$full_changelog" ]; then
|
|
||||||
echo "**Full Changelog**: ${full_changelog}"
|
|
||||||
fi
|
|
||||||
} > release-notes.md
|
|
||||||
|
|
||||||
if gh release view "$RELEASE_TAG" >/dev/null 2>&1; then
|
|
||||||
gh release edit "$RELEASE_TAG" --title "$RELEASE_TAG" --notes-file release-notes.md
|
|
||||||
else
|
|
||||||
gh release create "$RELEASE_TAG" --target "${GITHUB_SHA}" --title "$RELEASE_TAG" --notes-file release-notes.md
|
|
||||||
fi
|
|
||||||
@@ -1,13 +1,14 @@
|
|||||||
FROM nginx:1.27-alpine
|
FROM nginx:1.31.6-alpine3.24
|
||||||
|
|
||||||
ARG APP_VERSION=0.0.0
|
|
||||||
ARG VCS_REF=unknown
|
ARG VCS_REF=unknown
|
||||||
|
ARG APP_VERSION=unknown
|
||||||
|
|
||||||
LABEL org.opencontainers.image.title="Maintenance Website"
|
LABEL org.opencontainers.image.title="MaintenanceWebsite"
|
||||||
LABEL org.opencontainers.image.description="Static maintenance website"
|
LABEL org.opencontainers.image.description="❌ A simple HTML/CSS/JS maintenance website. "
|
||||||
|
LABEL org.opencontainers.image.licenses="GPL-3.0-only"
|
||||||
LABEL org.opencontainers.image.version="${APP_VERSION}"
|
LABEL org.opencontainers.image.version="${APP_VERSION}"
|
||||||
LABEL org.opencontainers.image.revision="${VCS_REF}"
|
LABEL org.opencontainers.image.revision="${VCS_REF}"
|
||||||
LABEL org.opencontainers.image.source="https://github.com/Lechner-Systems/MaintenanceWebsite"
|
LABEL org.opencontainers.image.source="https://git.lechner-systems.at/fraujulian/MaintenanceWebsite"
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY index.html /usr/share/nginx/html/index.html
|
COPY index.html /usr/share/nginx/html/index.html
|
||||||
|
|||||||
@@ -1,18 +1,64 @@
|
|||||||
# HTML Simple Maintenance Page
|
# Maintenance Website
|
||||||
|
|
||||||
### [🙋♂️ Website Preview](https://lechner-systems.at/)
|
A lightweight maintenance page served as a static website.
|
||||||
|
|
||||||
<img width="2559" height="1173" alt="image" src="https://github.com/user-attachments/assets/8709217f-5395-4e8b-af21-d32de98b1a09" />
|
## Preview
|
||||||
|
|
||||||
### 🪪 License
|
[Open the live preview](https://lechner-systems.at/)
|
||||||
Icons: [Icons8.com](https://icons8.com/)
|
|
||||||
|
|
||||||
Modified by Julian Lechner.
|
## Technology
|
||||||
Based on [Simple Maintenance Page](https://github.com/theoricher/Simple-Maintenance-Page).
|
|
||||||
Licensed under GNU GPL v3.
|
|
||||||
|
|
||||||
## 🤝 Enjoy?
|
- HTML, CSS, and vanilla JavaScript
|
||||||
|
- Nginx
|
||||||
|
- Docker and Docker Compose
|
||||||
|
|
||||||
Give it a star ⭐ on [GitHub](https://github.com/FrauJulian/Personal-Portfolio-Website)!
|
## Features
|
||||||
|
|
||||||
### Greetings from Austria! ⛰️
|
- Selects a maintenance message from the browser's preferred language, with English fallback
|
||||||
|
- Supports English, German, Slovak, Czech, Dutch, Swedish, Norwegian, Polish, Italian, French, Spanish, Slovenian, and Danish
|
||||||
|
- Provides email, abuse, phone, imprint, and status links
|
||||||
|
|
||||||
|
## Project Architecture
|
||||||
|
|
||||||
|
- `index.html` — page content and contact links
|
||||||
|
- `style.css` — page layout and styling
|
||||||
|
- `script.js` — language selection
|
||||||
|
- `images/` — page images and icons
|
||||||
|
- `nginx.conf` — web server configuration
|
||||||
|
- `Dockerfile` — production image definition
|
||||||
|
- `docker-compose.yml` — production service configuration
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
### Development
|
||||||
|
|
||||||
|
From the project root, start a local static server:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
python -m http.server 8000
|
||||||
|
```
|
||||||
|
|
||||||
|
Open <http://localhost:8000>.
|
||||||
|
|
||||||
|
### Production
|
||||||
|
|
||||||
|
Requires Docker Compose and access to the configured image registry. Copy the example environment file, set `IMAGE_TAG` if needed, then start the service:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cp .env.example .env
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
The page is available at <http://localhost:8080> by default. Set `MAIN_PORT` in `.env` to change the host port.
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
There is no dedicated test suite. CI checks JavaScript syntax with `node --check` and builds the Docker image.
|
||||||
|
|
||||||
|
## Guidelines
|
||||||
|
|
||||||
|
Use the issue templates in [`.gitea/ISSUE_TEMPLATE`](.gitea/ISSUE_TEMPLATE) for bug reports and feature requests.
|
||||||
|
|
||||||
|
## LICENSE
|
||||||
|
|
||||||
|
The project is licensed under the [GNU General Public License v3](LICENSE). Icons by [Icons8](https://icons8.com/).
|
||||||
@@ -1,13 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
portfolio:
|
maintenance:
|
||||||
image: docker.lechner-systems.at/lechnersystems/maintenance:${IMAGE_TAG:-latest}
|
image: docker.lechner-systems.at/lechnersystems/maintenance:${IMAGE_TAG:-latest}
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
|
||||||
- path: .env
|
|
||||||
required: false
|
|
||||||
dns:
|
dns:
|
||||||
- 192.168.100.2
|
- 192.168.100.2
|
||||||
- 192.168.100.6
|
- 192.168.100.6
|
||||||
|
|||||||
|
After Width: | Height: | Size: 2.8 MiB |
|
After Width: | Height: | Size: 1006 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 407 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 33 KiB |
@@ -4,8 +4,8 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Down for maintenance...</title>
|
<title>Down for maintenance...</title>
|
||||||
<link rel="icon" type="image/png" href="images/icon-white.png">
|
<link rel="icon" type="image/png" href="/images/icon-white.png">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img id="img360" src="data:image/png;base64,iVBORw0KGgoAAAAN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FVw1rl9aMWEMfeHn2nKkMgULine truncated
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
Lechner-Systems © <a href="https://fraujulian.xyz/imprint">Impressum</a>
|
Lechner-Systems © <a href="https://fraujulian.xyz/imprint">Impressum</a> | <a href="https://status.lechner-systems.at/">Status</a>
|
||||||
</footer>
|
</footer>
|
||||||
<script src="script.js"></script>
|
<script src="/script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -5,6 +5,10 @@ server {
|
|||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
location /images/ {
|
||||||
|
try_files $uri =404;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|||||||