Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2682f11392 | ||
|
|
3a21ae1abc | ||
|
|
1ec3f0a891 |
@@ -0,0 +1,46 @@
|
|||||||
|
# Version control
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
|
||||||
|
# GitHub metadata and local CI files
|
||||||
|
.github
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|||||||
@@ -51,11 +51,11 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
provenance: false
|
provenance: false
|
||||||
build-args: |
|
build-args: |
|
||||||
APP_VERSION=${{ steps.version.outputs.value }}
|
APP_VERSION=${{ github.sha }}
|
||||||
VCS_REF=${{ github.sha }}
|
VCS_REF=${{ github.run_number }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.version=${{ steps.version.outputs.value }}
|
org.opencontainers.image.version=${{ github.sha }}
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
org.opencontainers.image.revision=${{ github.run_number }}
|
||||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
||||||
|
|||||||
@@ -57,14 +57,13 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
provenance: false
|
provenance: false
|
||||||
build-args: |
|
build-args: |
|
||||||
APP_VERSION=${{ steps.version.outputs.value }}
|
APP_VERSION=${{ github.sha }}
|
||||||
VCS_REF=${{ github.sha }}
|
VCS_REF=${{ github.run_number }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.docker_tag }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.version=${{ steps.version.outputs.value }}
|
org.opencontainers.image.version=${{ github.sha }}
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
org.opencontainers.image.revision=${{ github.run_number }}
|
||||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
||||||
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
FROM nginx:1.27-alpine
|
FROM nginx:1.27-alpine
|
||||||
|
|
||||||
ARG APP_VERSION=0.0.0
|
|
||||||
ARG VCS_REF=unknown
|
ARG VCS_REF=unknown
|
||||||
|
ARG APP_VERSION=unknown
|
||||||
|
|
||||||
LABEL org.opencontainers.image.title="MaintenanceWebsite"
|
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://github.com/Lechner-Systems/MaintenanceWebsite"
|
||||||
|
|||||||
@@ -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: 98 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 |
@@ -25,7 +25,7 @@
|
|||||||
</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>
|
||||||
|
|||||||