From 9f5ddedeab509d3b4a1490b66ef649af7bb2f03f Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 28 Jun 2025 23:47:20 +0100 Subject: [PATCH] Add index.html and Docker deployment files --- .dockerignore | 2 ++ Dockerfile | 5 +++++ dockercompose.yaml | 11 +++++++++++ index.html | 28 ++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 dockercompose.yaml create mode 100644 index.html diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..f3cd543 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +git \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..22ab624 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx/nginx:latest + +COPY . /usr/share/nginx/html + +EXPOSE 80 \ No newline at end of file diff --git a/dockercompose.yaml b/dockercompose.yaml new file mode 100644 index 0000000..8da5cbe --- /dev/null +++ b/dockercompose.yaml @@ -0,0 +1,11 @@ +version: "3.8" + +services: + web: + image: git.fjla.uk/fred.boniface/scripts:latest + ports: + - "4321:80" + deploy: + replicas: 1 + restart_policy: + condition: on_failure \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..2e28ee2 --- /dev/null +++ b/index.html @@ -0,0 +1,28 @@ + + + + + Scripts + + +

Scripts

+

A collection of downloadable scripts

+ + + \ No newline at end of file