automated push from the terminal
All checks were successful
code.valorantdigital.com-projectgaruda/portal.intranet.valorantdigital.com/pipeline/head This commit looks good
All checks were successful
code.valorantdigital.com-projectgaruda/portal.intranet.valorantdigital.com/pipeline/head This commit looks good
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
FROM nginx:latest
|
||||||
|
|
||||||
|
##USER www-data
|
||||||
|
|
||||||
|
WORKDIR /usr/share/nginx/html
|
||||||
|
|
||||||
|
COPY --chown=www-data:www-data --chmod=755 . .
|
||||||
|
|
||||||
55
Jenkinsfile
vendored
Normal file
55
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
pipeline {
|
||||||
|
|
||||||
|
agent none
|
||||||
|
|
||||||
|
options {
|
||||||
|
|
||||||
|
disableConcurrentBuilds(abortPrevious: true)
|
||||||
|
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '1'))
|
||||||
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
|
||||||
|
stage('docker compose build') {
|
||||||
|
|
||||||
|
agent {
|
||||||
|
|
||||||
|
label "sian"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
|
||||||
|
dir('.') {
|
||||||
|
|
||||||
|
sh 'docker compose build'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('docker compose push') {
|
||||||
|
|
||||||
|
agent {
|
||||||
|
|
||||||
|
label "sian"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
|
||||||
|
dir('.') {
|
||||||
|
|
||||||
|
sh 'docker compose push'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}}
|
||||||
|
|
||||||
19
compose.bash
Executable file
19
compose.bash
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
reset
|
||||||
|
|
||||||
|
clear
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
docker compose down --remove-orphans
|
||||||
|
|
||||||
|
docker compose up --build -d
|
||||||
20
compose.yaml
Normal file
20
compose.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
services:
|
||||||
|
|
||||||
|
portal.intranet.valorantdigital.com:
|
||||||
|
|
||||||
|
container_name: portal.intranet.valorantdigital.com
|
||||||
|
|
||||||
|
image: softwareshinobi/portal.intranet.valorantdigital.com
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
context: .
|
||||||
|
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
ports:
|
||||||
|
|
||||||
|
- "8000:80"
|
||||||
|
|
||||||
BIN
img/background.png
Normal file
BIN
img/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 704 KiB |
77
index.html
Normal file
77
index.html
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Portal / EmbaNET</title>
|
||||||
|
<!-- Include the Bootswatch Vapor theme CSS -->
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootswatch@5.3.3/dist/vapor/bootstrap.min.css">
|
||||||
|
<!-- Custom CSS for minimalist style and larger buttons -->
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: #0b0f1a;
|
||||||
|
}
|
||||||
|
.container {
|
||||||
|
padding-top: 50px;
|
||||||
|
padding-bottom: 50px;
|
||||||
|
}
|
||||||
|
/* Style the link container to take up more space on wider screens */
|
||||||
|
#link-container .btn {
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 1.5rem; /* Increased margin for more separation */
|
||||||
|
padding: 1.5rem; /* Increased padding to make buttons taller */
|
||||||
|
font-size: 1.25rem; /* Larger font size for better readability */
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<!-- Increased column size for the main content to make it wider -->
|
||||||
|
<div class="col-12 col-md-10 col-lg-8">
|
||||||
|
<h2 class="text-center text-info mb-4">EmbaNET Portal</h2>
|
||||||
|
<div class="row" id="link-container">
|
||||||
|
<!-- Changed from two columns to a single full-width column for better use of space -->
|
||||||
|
<div class="col-12 d-grid gap-2">
|
||||||
|
<a href="http://intranet.embanet.online:8000" id="wordpress" class="btn btn-outline-info" target="_blank">
|
||||||
|
<i class="fa-solid fa-globe"></i> Wordpress
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="http://intranet.embanet.online:9000" id="kanban" class="btn btn-outline-info" target="_blank">
|
||||||
|
<i class="fa-solid fa-globe"></i> Aria OS
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="http://intranet.embanet.online:8096" id="radio" class="btn btn-outline-info" target="radio">
|
||||||
|
<i class="fa-solid fa-globe"></i> Radio
|
||||||
|
</a>
|
||||||
|
<a href="http://intranet.embanet.online:8896" id="porn88" class="btn btn-outline-danger" target="porn88">
|
||||||
|
<i class="fa-solid fa-futbol"></i> Porn (88)
|
||||||
|
</a>
|
||||||
|
<a href="http://intranet.embanet.online:7796" id="porn77" class="btn btn-outline-danger" target="porn77">
|
||||||
|
<i class="fa-solid fa-futbol"></i> Porn (77)
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="http://intranet.embanet.online:3380" id="phpmyadmin" class="btn btn-outline-info" target="_blank">
|
||||||
|
<i class="fa-solid fa-globe"></i> PHPMyAdmin
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="http://intranet.embanet.online:3000" id="gitea" class="btn btn-outline-info" target="_blank">
|
||||||
|
<i class="fa-solid fa-globe"></i> Gitea
|
||||||
|
</a>
|
||||||
|
<a href="http://intranet.embanet.online:5000" id="jenkins" class="btn btn-outline-info" target="_blank">
|
||||||
|
<i class="fa-solid fa-globe"></i> Jenkins
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src="https://kit.fontawesome.com/ee2093fa90.js" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user