diff --git a/.dockerignore b/.dockerignore new file mode 100755 index 0000000..b038222 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,15 @@ +.git + +.pristine + +.trash + +.recycle + +.backup + +.volumes + +web/ + +docs/ diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..64d1b34 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.volumes + +target/ diff --git a/.trash b/.trash deleted file mode 100644 index 718f4d2..0000000 --- a/.trash +++ /dev/null @@ -1 +0,0 @@ -t diff --git a/Dockerfile b/Dockerfile new file mode 100755 index 0000000..c7e06d6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx:latest + +WORKDIR /usr/share/nginx/html + +COPY --chown=www-data:www-data --chmod=755 . . diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..31fd9cc --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,54 @@ +pipeline { + + agent none + + options { + + disableConcurrentBuilds(abortPrevious: true) + + buildDiscarder(logRotator(numToKeepStr: '10')) + } + + stages { + + stage('docker compose build') { + + agent { + + label "huracan" + + } + + steps { + + dir('.') { + + sh 'docker compose build' + + } + + } + + } + + stage('docker compose push') { + + agent { + + label "huracan" + + } + + steps { + + dir('.') { + + sh 'docker compose push' + + } + + } + + } + +}} diff --git a/compose.bash b/compose.bash new file mode 100755 index 0000000..cfaa2b6 --- /dev/null +++ b/compose.bash @@ -0,0 +1,13 @@ +#!/bin/bash + +reset + +clear + +set -e + +set -x + +docker compose down --remove-orphans + +docker compose up -d --build diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..ae35350 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,18 @@ +services: + + www.valorantdigital.com: + + container_name: www.valorantdigital.com + + image: softwareshinobi/www.valorantdigital.com + + build: + + context: . + + dockerfile: Dockerfile + + ports: + + - 8000:80 + diff --git a/startup-website-template.jpg b/cover.jpg similarity index 100% rename from startup-website-template.jpg rename to cover.jpg diff --git a/favicon.ico b/favicon.ico new file mode 100755 index 0000000..d9e68c4 Binary files /dev/null and b/favicon.ico differ