-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved to docker container for hosting
- Loading branch information
Showing
230 changed files
with
186,481 additions
and
186,429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.github | ||
.parcel-cache | ||
dist | ||
node_modules | ||
npm-debug.log | ||
.editorconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Docker Image CI | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
contents: read | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Docker Login | ||
uses: docker/[email protected] | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GHCR_PASSWORD }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
file: ./dockerfile | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
http { | ||
|
||
include mime.types; | ||
|
||
set_real_ip_from 0.0.0.0/0; | ||
real_ip_recursive on; | ||
real_ip_header X-Forward-For; | ||
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s; | ||
|
||
server { | ||
listen 80; | ||
server_name localhost; | ||
root /proxy; | ||
limit_req zone=mylimit burst=70 nodelay; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
try_files $uri /index.html; | ||
} | ||
|
||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
root /usr/share/nginx/html; | ||
} | ||
} | ||
} | ||
|
||
events {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM nginx:alpine | ||
|
||
COPY ./src/ /usr/share/nginx/html | ||
COPY config/nginx/nginx.conf /etc/nginx/nginx.conf | ||
|
||
EXPOSE 80 | ||
|
||
CMD ["nginx", "-g", "daemon off;"] |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
2,886 changes: 1,443 additions & 1,443 deletions
2,886
Nafees-web-naskh/Nafees-Web-Naskh.svg → ...nts/Nafees-web-naskh/Nafees-Web-Naskh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions
16
Nafees-web-naskh/stylesheet.css → src/fonts/Nafees-web-naskh/stylesheet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
@font-face { | ||
font-family: 'NafeesWebNaskh'; | ||
src: url("./Nafees-Web-Naskh.eot"); | ||
src: url("./Nafees-Web-Naskh.eot") format("embedded-opentype"), | ||
url("./Nafees-Web-Naskh.woff") format("woff"), | ||
url("./Nafees-Web-Naskh.ttf") format("truetype"), | ||
url("./Nafees-Web-Naskh.svg") format("svg"); | ||
unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; | ||
@font-face { | ||
font-family: 'NafeesWebNaskh'; | ||
src: url("./Nafees-Web-Naskh.eot"); | ||
src: url("./Nafees-Web-Naskh.eot") format("embedded-opentype"), | ||
url("./Nafees-Web-Naskh.woff") format("woff"), | ||
url("./Nafees-Web-Naskh.ttf") format("truetype"), | ||
url("./Nafees-Web-Naskh.svg") format("svg"); | ||
unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; | ||
} |
File renamed without changes.
17,628 changes: 8,814 additions & 8,814 deletions
17,628
adobe-arabic/AdobeArabic-Regular.svg → ...onts/adobe-arabic/AdobeArabic-Regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions
16
adobe-arabic/stylesheet.css → src/fonts/adobe-arabic/stylesheet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
@font-face { | ||
font-family: 'AdobeArabic'; | ||
src: url("./AdobeArabic-Regular.eot"); | ||
src: url("./AdobeArabic-Regular.eot") format("embedded-opentype"), | ||
url("./AdobeArabic-Regular.woff") format("woff"), | ||
url("./AdobeArabic-Regular.ttf") format("truetype"), | ||
url("./AdobeArabic-Regular.svg") format("svg"); | ||
unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; | ||
@font-face { | ||
font-family: 'AdobeArabic'; | ||
src: url("./AdobeArabic-Regular.eot"); | ||
src: url("./AdobeArabic-Regular.eot") format("embedded-opentype"), | ||
url("./AdobeArabic-Regular.woff") format("woff"), | ||
url("./AdobeArabic-Regular.ttf") format("truetype"), | ||
url("./AdobeArabic-Regular.svg") format("svg"); | ||
unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; | ||
} |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
54,054 changes: 27,027 additions & 27,027 deletions
54,054
amiri/Amiri-Bold.svg → src/fonts/amiri/Amiri-Bold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
52,162 changes: 26,081 additions & 26,081 deletions
52,162
amiri/Amiri-BoldItalic.svg → src/fonts/amiri/Amiri-BoldItalic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
53,546 changes: 26,773 additions & 26,773 deletions
53,546
amiri/Amiri-Italic.svg → src/fonts/amiri/Amiri-Italic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
53,894 changes: 26,947 additions & 26,947 deletions
53,894
amiri/Amiri-Regular.svg → src/fonts/amiri/Amiri-Regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.