From 5347103e565d6e19b41defeb67dc671270abb2f7 Mon Sep 17 00:00:00 2001 From: 0xMDIV <0x.mdiv@gmail.com> Date: Mon, 6 Apr 2026 17:03:47 +0200 Subject: [PATCH 1/2] add docker and podmman support --- .dockerignore | 13 +++++++++++++ .env.example | 4 ++++ .gitignore | 1 + Dockerfile | 10 ++++++++++ compose.yaml | 10 ++++++++++ podman-compose.yaml | 10 ++++++++++ 6 files changed, 48 insertions(+) create mode 100644 .dockerignore create mode 100644 .env.example create mode 100644 Dockerfile create mode 100644 compose.yaml create mode 100644 podman-compose.yaml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..df7567d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,13 @@ +.git +.gitignore +.codegraph +CLAUDE.md +CNAME +LICENSE +README.md +Dockerfile +compose.yaml +podman-compose.yaml +.dockerignore +.env +.env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..dd278e2 --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +# Container settings +CONTAINER_NAME=bumpmesh +HOST_PORT=8080 +CONTAINER_PORT=80 diff --git a/.gitignore b/.gitignore index ee88966..c348348 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ assets/ +.env diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f3efec6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM nginx:alpine + +COPY index.html /usr/share/nginx/html/ +COPY style.css /usr/share/nginx/html/ +COPY logo.png /usr/share/nginx/html/ +COPY js/ /usr/share/nginx/html/js/ +COPY textures/ /usr/share/nginx/html/textures/ +COPY assets/ /usr/share/nginx/html/assets/ + +EXPOSE 80 diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..8c7122c --- /dev/null +++ b/compose.yaml @@ -0,0 +1,10 @@ +services: + bumpmesh: + container_name: ${CONTAINER_NAME:-bumpmesh} + build: . + image: bumpmesh:latest + ports: + - "${HOST_PORT:-8080}:${CONTAINER_PORT:-80}" + restart: unless-stopped + env_file: + - .env diff --git a/podman-compose.yaml b/podman-compose.yaml new file mode 100644 index 0000000..8c7122c --- /dev/null +++ b/podman-compose.yaml @@ -0,0 +1,10 @@ +services: + bumpmesh: + container_name: ${CONTAINER_NAME:-bumpmesh} + build: . + image: bumpmesh:latest + ports: + - "${HOST_PORT:-8080}:${CONTAINER_PORT:-80}" + restart: unless-stopped + env_file: + - .env From 300cf0ad4457f00dc3f3fd061e0df5fd3e5929da Mon Sep 17 00:00:00 2001 From: 0xMDIV <0x.mdiv@gmail.com> Date: Mon, 6 Apr 2026 17:04:36 +0200 Subject: [PATCH 2/2] add codegraph to ignore list --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c348348..bf1f8ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ assets/ .env +.codegraph \ No newline at end of file