parent
9c7c4a8947
commit
c9a3236909
6 changed files with 30 additions and 69 deletions
40
.drone.yml
40
.drone.yml
|
@ -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
21
.woodpecker.yml
Normal 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
|
|
@ -1,4 +1,4 @@
|
|||
FROM nginx:alpine
|
||||
FROM nginx:stable-alpine-slim
|
||||
RUN rm -rf /usr/share/nginx/html
|
||||
RUN mkdir -p /usr/share/nginx/html
|
||||
COPY . /usr/share/nginx/html/
|
|
@ -5,7 +5,7 @@
|
|||
title: "hackmi.ch Services"
|
||||
subtitle: "All the apps."
|
||||
|
||||
#logo: "logo.png"
|
||||
logo: "logo.png"
|
||||
icon: "fas fa-server" # Optional icon
|
||||
|
||||
header: true
|
||||
|
@ -53,7 +53,7 @@ colors:
|
|||
links:
|
||||
- name: "Discord"
|
||||
icon: "fab fa-discord"
|
||||
url: "https://discord.gg/dm9AqSHFnN"
|
||||
url: "https://discord.hackmi.ch"
|
||||
target: "_blank"
|
||||
- name: "Status Page"
|
||||
icon: "fas fa-globe-europe"
|
||||
|
@ -83,44 +83,24 @@ services:
|
|||
target: "_blank"
|
||||
- name: "DroneCI"
|
||||
icon: "fas fa-undo"
|
||||
subtitle: "Selfhosted DroneCI"
|
||||
subtitle: "Selfhosted WoodpeckerCI"
|
||||
url: "https://ci.hackmi.ch"
|
||||
target: "_blank"
|
||||
- name: "Webmail"
|
||||
icon: "fas fa-envelope"
|
||||
subtitle: "Webmail client"
|
||||
url: "https://webmail.hackmi.ch"
|
||||
target: "_blank"
|
||||
- name: "Cloud"
|
||||
icon: "fas fa-cloud"
|
||||
subtitle: "Selfhosted nextcloud"
|
||||
subtitle: "Selfhosted Seafile"
|
||||
url: "https://cloud.hackmi.ch"
|
||||
target: "_blank"
|
||||
- name: "VIP+ Services"
|
||||
icon: "fas fa-user-check"
|
||||
items:
|
||||
- name: "Wiki"
|
||||
- name: "Kanban"
|
||||
icon: "fas fa-file-medical-alt"
|
||||
subtitle: "Selfhosted bookstack"
|
||||
url: "https://wiki.hackmi.ch"
|
||||
target: "_blank"
|
||||
- name: "Netbox"
|
||||
icon: "fas fa-project-diagram"
|
||||
subtitle: "Selfhosted Netbox"
|
||||
url: "https://netbox.hackmi.ch"
|
||||
subtitle: "Selfhosted Wekan"
|
||||
url: "https://kanban.hackmi.ch"
|
||||
target: "_blank"
|
||||
- name: "Gaming panel"
|
||||
icon: "fas fa-dungeon"
|
||||
subtitle: "Selfhosted pterodactyl"
|
||||
url: "https://panel.hackmi.ch"
|
||||
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"
|
||||
|
|
|
@ -7,4 +7,4 @@ services:
|
|||
- 8001:80
|
||||
environment:
|
||||
- NGINX_PORT=80
|
||||
restart: "always"
|
||||
restart: "unless-stopped"
|
BIN
logo.png
Normal file
BIN
logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in a new issue