From ef74642846a4729bb40dc78a8366fc54a64d38b3 Mon Sep 17 00:00:00 2001 From: Nikhil Mehta <6815560+technikhil314@users.noreply.github.com> Date: Sat, 27 Jul 2024 12:50:53 +0530 Subject: [PATCH] feat: added support for docker (#175) * fix: added missing titles in diffview of v2 * fix: using v2 link for sample link in docs * feat: support docker (#174) * feat: add docker * fix: nginx failed to load * docs: update README.md * chore: change to npm ci and remove static in nuxt.config.js * docs: update server to serve * docs: add Self Host section --------- Co-authored-by: Nux <88309796+muhammad-asn@users.noreply.github.com> --- .dockerignore | 90 ++++++++++++++++++++++++++++++++++++++++++++++ Dockerfile | 22 ++++++++++++ README.md | 28 ++++++++++++++- docker-compose.yml | 16 +++++++++ nginx/default.conf | 15 ++++++++ 5 files changed, 170 insertions(+), 1 deletion(-) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 docker-compose.yml create mode 100644 nginx/default.conf diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e8f682b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,90 @@ +# Created by .ignore support plugin (hsz.mobi) +### Node template +# Logs +/logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js build output +.next + +# nuxt.js build output +.nuxt + +# Nuxt generate +dist + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless + +# IDE / Editor +.idea + +# Service worker +sw.* + +# macOS +.DS_Store + +# Vim swap files +*.swp diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f96c7ed --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM node:18 AS build-stage + +WORKDIR /app + +COPY package*.json ./ + +RUN npm ci + +COPY . . + +ENV NODE_OPTIONS=--openssl-legacy-provider +RUN npm run generate + +FROM nginx:1.27.0-alpine-slim AS production-stage + +COPY --from=build-stage /app/dist /usr/share/nginx/html + +COPY nginx/default.conf /etc/nginx/conf.d/default.conf + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;"] diff --git a/README.md b/README.md index 34b5e97..9606165 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ It has following benefits 4. As the link contains data whomever you share link with can get data too 5. Also note that the data is put with hash in url so server can not read the data -[Here is a link to sample diff view](https://diffviewer.vercel.app/v1/diff#H4sIAAAAAAAAA819XXPbxpbtX0n55b7EKAEkJeo8WbIdJbGVuCxPUmdOTk01QZCEBQIMAIqWp-a_Dyn3WhvoDQIt2Z66T7bYjQ0SvbC_P_772TxdLJ7941__Ovnx2b_--6_8hx_-epbO_3r2jx-e_fvHfz0Pf3wWHv6z_3c0jg7_2-_78cu2RVpW9X_lZp0ctv_1DBe8TYvcXvPLOsnmxl72Fy7MTOd1H1aFvewmMWtcVWK52C2LYm533Lo0k7VJsza9rCbBtPKmePICy_HG5IldXRefU7shsx9loBfggjyp7VpRLt0vuEzyeVK2v-Fv-H4Xy8Tuz7H2fJbmxi7PE_er37vk081_mfm8TKpKbrHfF43OA7s1xLUTuza1C5NghKUTu3Ta_GnAwIm95LBxHIRAw_lfz_7K_-fHH1rgieyFZxM_zLwp06ou9kj8ctmVvSop7Qel-sFHQHSNR_reXoC_Y_v3CjsNQJpkWeJS74DT7RqkluVTaIcE1h51ywzI2p9avUorF0vlF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IV2QvA8KAw8gAF9tjjwzkgJMgPD-xXfUGJIQrIOCbHchouqDel3OwqXp3fYPMaAdymWRxd_glFPN2hgW3apvMG4Kkz2hmBMhNVPgeXyCSvnyssZ0nrCM2uZSOuzeHcQWU1N-PM9H0AbIaFZMMCOoCyc7WJGKcNQXexN3iE4tkr4HQd-jDRcbctEtTsiq23UPJA5bv6daxFzBgxFrHwfl3Ycf0zjIZphdJH757GWirpo9Lq73Yy-hCbdhPCb1FHmY22MqUw8XUeCKl-ETMm5q69d1qpsj5mSRe9UKBvYh9W6y9LeZ0v79uNW54zmd2kP6Jr-LzpxFwvf5Us3i518O7M4wmthpE7v9ukIiKZvq2Xc9NZfDQperRflBIrVzu2yb422Xj8oChhZwEKhCgu7-66VNEkpt72WiozvmvPhiRhtm-OvCqYAHXb8oxInVCWlIfS8BLGK1-v53r-dz5it3IfVSbeib08tKTYCQN-Yp5XuB6pmAaaSWbp5z5uJoXLRYTitOYwg0Mxysk-fR0X-JkehowetRw81Ja2SVVCxVKXZJt-zhoPpHm2BM6KANA-q208KGHo_LlLL_ZCzD2w1Ap4BjNlKVB7SasAwCas6HI-km0o785uor1WnPJv0g7k6SAKPfJ3FOjoa0l7PjRCXl4Zt_IgagnDCngjUZH25SwtZIFbFOdDgbHOoSN8bBOpfkwENn8_caU5rnKgmSAylf1uQBkJEheExfV5_jz_e0xih0ApD6sumJjxfMmUdnQivYH-smuz2ZxQAWIR4XjBsdSvZi_n2vIgUhj2KLq8ifwkSokhwdPJwGQoVwBD3D697N__3v_EFfVWzNLsmf_2IugRVEmP_zHZn4o3d4_Clm6WOwlGVb-538B0bFXSqzhAAA) +[Here is a link to sample diff view](https://diffviewer.vercel.app/v2/diff#H4sIAAAAAAAAA61dXZPUuJL9KwQv-3LHUZLr8z6pu2GAaXqGoIkh5u5sbMi2ylaXbRX-6KL6xv3vq5SrGWDIYy_FA_PBKaASSamTmSdT_35aFu3Tfz797z_rJ0_-Tf948uTPpzb78-k_n4h_PP7_1jZt97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XwyhNEUaZwR3He-qLEj9jVZYHxz2ZpJMTLHefZhyf0-1JFIdmfC0ieIAE6vf-mvv_rexIAgXm7mnbAZWlOhQusjVHPCfeo8Ta4jAfdAP3HJps2Cd4edJCVwk7uZlW6PETspr2LOGUlZoJiniCqnEBE3KoyUbjN5QuMq7WkGgPyVqRFd_tq8PsFGrDhUl5ELY9rywclvD8I1vfNoYw6VSt23EN3GjP6mx4e5l-wCgHuIFfzVfvaHydJugzvy2Yc1M3Ayr39PR8W2QOBdQT6AFlrWneCD2YjYWKc94kf_1DbUjXWd0xk-jT6gTLD94km5nwFA8IRUf7HlahYiJirOCJgT23utE_wQYBEtJyW649BFA2KklS2PU97e6ZbcKFul5EnwbRDiMZy6J9TW7n6T-f_kZDc2tdPnnn9_swrfERuirobetsQP7zf73yDBOBowAA) ## TODO/Upcoming features @@ -77,3 +77,29 @@ $ npm run start # generate static project $ npm run generate ``` + +## Self Host +This guide provides detailed instructions on how to self-host the offline-diff-viewer application using Docker and Docker Compose. Self-hosting allows you to run the application on your own server, providing you with full control over its environment and configuration. + +### Building and Running the Docker Container +1. Build the Docker Image +```bash +$ docker build -t offline-diff-viewer . +``` +2. Run the Docker Container via docker run command +```bash +$ docker run -d \ + --name offline-diff-viewer \ + -p 3000:80 \ + --security-opt no-new-privileges:true \ + -v /var/log/nginx:/var/log/nginx \ + --restart unless-stopped \ + -e NODE_ENV=production \ + -e NODE_OPTIONS=--openssl-legacy-provider \ + offline-diff-viewer +``` + +### Running the Container with Docker Compose +```bash +$ docker compose up -d --build +``` \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5b40a46 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +services: + offline-diff-viewer: + build: + context: . + dockerfile: Dockerfile + container_name: offline-diff-viewer + ports: + - "3000:80" + security_opt: + - no-new-privileges:true + volumes: + - /var/log/nginx + restart: unless-stopped + environment: + - NODE_ENV=production + - NODE_OPTIONS=--openssl-legacy-provider diff --git a/nginx/default.conf b/nginx/default.conf new file mode 100644 index 0000000..8a2c62f --- /dev/null +++ b/nginx/default.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name offline-diff-viewer.local; + + location / { + charset utf-8; + root /usr/share/nginx/html; + try_files $uri $uri/ /index.html; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } +}