Edit Page to publish new hackmi.ch (#1)

Reviewed-on: #1
This commit is contained in:
Phil 2024-04-07 12:49:27 +02:00
parent 9c7c4a8947
commit c9a3236909
6 changed files with 30 additions and 69 deletions

View file

@ -1,40 +0,0 @@
---
kind: pipeline
name: Build-latest
steps:
- name: Build-latest-tag
image: docker:dind
volumes:
- name: dockersock
path: /var/run
environment:
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- sleep 15
- docker context create build
- docker buildx create build --use
- echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin git.hackmi.ch
- docker buildx build
--platform linux/amd64
--no-cache
--push
--tag git.hackmi.ch/hackmi.ch/services:latest
.
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
when:
branch:
- main

21
.woodpecker.yml Normal file
View file

@ -0,0 +1,21 @@
steps:
- name: Publish
image: woodpeckerci/plugin-docker-buildx:3
environment:
- DOCKER_HOST=tcp://docker:2376
settings:
platforms: linux/amd64
repo: git.hackmi.ch/hackmi.ch/services
registry: git.hackmi.ch
tags: latest
username:
from_secret: reg-user
password:
from_secret: reg-pass
services:
docker:
image: docker:24-dind
commands:
- dockerd --tls=false --host=tcp://0.0.0.0:2376
privileged: true

View file

@ -1,4 +1,4 @@
FROM nginx:alpine FROM nginx:stable-alpine-slim
RUN rm -rf /usr/share/nginx/html RUN rm -rf /usr/share/nginx/html
RUN mkdir -p /usr/share/nginx/html RUN mkdir -p /usr/share/nginx/html
COPY . /usr/share/nginx/html/ COPY . /usr/share/nginx/html/

View file

@ -5,7 +5,7 @@
title: "hackmi.ch Services" title: "hackmi.ch Services"
subtitle: "All the apps." subtitle: "All the apps."
#logo: "logo.png" logo: "logo.png"
icon: "fas fa-server" # Optional icon icon: "fas fa-server" # Optional icon
header: true header: true
@ -53,7 +53,7 @@ colors:
links: links:
- name: "Discord" - name: "Discord"
icon: "fab fa-discord" icon: "fab fa-discord"
url: "https://discord.gg/dm9AqSHFnN" url: "https://discord.hackmi.ch"
target: "_blank" target: "_blank"
- name: "Status Page" - name: "Status Page"
icon: "fas fa-globe-europe" icon: "fas fa-globe-europe"
@ -83,44 +83,24 @@ services:
target: "_blank" target: "_blank"
- name: "DroneCI" - name: "DroneCI"
icon: "fas fa-undo" icon: "fas fa-undo"
subtitle: "Selfhosted DroneCI" subtitle: "Selfhosted WoodpeckerCI"
url: "https://ci.hackmi.ch" url: "https://ci.hackmi.ch"
target: "_blank" target: "_blank"
- name: "Webmail"
icon: "fas fa-envelope"
subtitle: "Webmail client"
url: "https://webmail.hackmi.ch"
target: "_blank"
- name: "Cloud" - name: "Cloud"
icon: "fas fa-cloud" icon: "fas fa-cloud"
subtitle: "Selfhosted nextcloud" subtitle: "Selfhosted Seafile"
url: "https://cloud.hackmi.ch" url: "https://cloud.hackmi.ch"
target: "_blank" target: "_blank"
- name: "VIP+ Services" - name: "VIP+ Services"
icon: "fas fa-user-check" icon: "fas fa-user-check"
items: items:
- name: "Wiki" - name: "Kanban"
icon: "fas fa-file-medical-alt" icon: "fas fa-file-medical-alt"
subtitle: "Selfhosted bookstack" subtitle: "Selfhosted Wekan"
url: "https://wiki.hackmi.ch" url: "https://kanban.hackmi.ch"
target: "_blank"
- name: "Netbox"
icon: "fas fa-project-diagram"
subtitle: "Selfhosted Netbox"
url: "https://netbox.hackmi.ch"
target: "_blank" target: "_blank"
- name: "Gaming panel" - name: "Gaming panel"
icon: "fas fa-dungeon" icon: "fas fa-dungeon"
subtitle: "Selfhosted pterodactyl" subtitle: "Selfhosted pterodactyl"
url: "https://panel.hackmi.ch" url: "https://panel.hackmi.ch"
target: "_blank" target: "_blank"
- name: "S3"
icon: "fas fa-database"
subtitle: "Selfhosted Minio"
url: "https://s3console.hackmi.ch"
target: "_blank"
- name: "Coding Env."
icon: "fas fa-tools"
subtitle: "Own Coder instance"
url: "https://coding.hackmi.ch"
target: "_blank"

View file

@ -7,4 +7,4 @@ services:
- 8001:80 - 8001:80
environment: environment:
- NGINX_PORT=80 - NGINX_PORT=80
restart: "always" restart: "unless-stopped"

BIN
logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB