first commit
Some checks failed
Docker Build and Push for Main Branch / docker (push) Has been cancelled
Some checks failed
Docker Build and Push for Main Branch / docker (push) Has been cancelled
This commit is contained in:
36
.gitea/workflows/main.yml
Normal file
36
.gitea/workflows/main.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Docker Build and Push for Main Branch
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- ".gitignore"
|
||||
- "README.md"
|
||||
- "LICENSE"
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.phorge.fr
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: git.phorge.fr/phorge/phorge.fr:latest
|
||||
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM nginx:stable-alpine
|
||||
|
||||
WORKDIR /usr/share/nginx/html
|
||||
|
||||
COPY index.html ./
|
||||
COPY src ./src
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Léo Nonnenmacher
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
17
README.md
Normal file
17
README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# phorge.fr
|
||||
|
||||

|
||||
|
||||
Website for [Phorge](https://phorge.fr)
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
docker build . -t phorge.fr
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
docker run -p 8000:80 phorge.fr
|
||||
```
|
||||
53
index.html
Normal file
53
index.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>φorge</title>
|
||||
<link rel="stylesheet" href="src/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<pre><span class="colorA"> + **==+=</span><span class="colorB"> === </span>
|
||||
<span class="colorA"> ===+ %=========</span><span class="colorB"> +====== ++* =*==+ =====+=+=== ++====*+ </span>
|
||||
<span class="colorA"> ===+ === +===</span><span class="colorB"> ============ ==========* ==========- ============ </span>
|
||||
<span class="colorA"> ===+ %=== +===</span><span class="colorB"> ===* ==== ====+ === +=== %=== +=== </span>
|
||||
<span class="colorA"> ===# %=== ====</span><span class="colorB"> ===* ===# ===+ *==# === === ===*</span>
|
||||
<span class="colorA">%=== %=== ====</span><span class="colorB"> #=== ==== === ==+ === %==+*********====</span>
|
||||
<span class="colorA"> ===# %=== +===</span><span class="colorB"> -==+ *=== ==+ +=== *===# *================</span>
|
||||
<span class="colorA"> ===+ %=== ====* </span><span class="colorB"> #=== ==== ==+ ========+ %==+ </span>
|
||||
<span class="colorA"> ====+ %=== +===+</span><span class="colorB"> ===* ===# ==+ === === </span>
|
||||
<span class="colorA"> *===============</span><span class="colorB"> *==== ==== ==+ ===+ *===+ ===*</span>
|
||||
<span class="colorA"> =*======*+ </span><span class="colorB"> ============# ==+ ============+ ============% </span>
|
||||
<span class="colorA"> %=== </span><span class="colorB"> =+====++ **# ===+= ===++==== =*====++ </span>
|
||||
<span class="colorA"> %=== </span><span class="colorB"> === === </span>
|
||||
<span class="colorA"> %=== </span><span class="colorB"> ===+ ==== </span>
|
||||
<span class="colorA"> %=== </span><span class="colorB"> =============== </span>
|
||||
<span class="colorA"> </span><span class="colorB"> *======= </span></pre>
|
||||
<p class="colorB">Open-Source & Community first Cloud Provider</p>
|
||||
<table class="services colorB">
|
||||
<tr>
|
||||
<th>Service</th>
|
||||
<th>Url</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dev Workspaces</td>
|
||||
<td><a href="https://coder.phorge.fr" class="colorA">https://coder.phorge.fr</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Monitoring</td>
|
||||
<td><a href="https://monitoring.phorge.fr" class="colorA">https://monitoring.phorge.fr</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Status page</td>
|
||||
<td><a href="https://status.phorge.fr/status" class="colorA">https://status.phorge.fr/status</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Git</td>
|
||||
<td><a href="https://git.phorge.fr" class="colorA">https://git.phorge.fr</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IaaS</td>
|
||||
<td><a href="https://iaas.phorge.fr" class="colorA">https://iaas.phorge.fr</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
40
src/styles.css
Normal file
40
src/styles.css
Normal file
@@ -0,0 +1,40 @@
|
||||
body { background-color: black; font-family: monospace; }
|
||||
.colorA { color: #39b5fb; }
|
||||
.colorB { color: #a6a6a6; }
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
line-height: 1.15;
|
||||
margin: 0;
|
||||
}
|
||||
.tagline {
|
||||
margin: 10px 0 20px 0;
|
||||
}
|
||||
|
||||
/* Tableau stylisé minimaliste */
|
||||
table.services {
|
||||
border-collapse: collapse;
|
||||
margin-top: 15px;
|
||||
font-size: 0.95em;
|
||||
}
|
||||
table.services th,
|
||||
table.services td {
|
||||
padding: 6px 12px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #39b5fb33;
|
||||
}
|
||||
table.services th {
|
||||
color: #39b5fb;
|
||||
font-weight: normal;
|
||||
border-bottom: 2px solid #39b5fb;
|
||||
}
|
||||
table.services tr:hover {
|
||||
background-color: #111;
|
||||
}
|
||||
table.services a {
|
||||
color: #39b5fb;
|
||||
text-decoration: none;
|
||||
}
|
||||
table.services a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
Reference in New Issue
Block a user