From 574f02ef76b249d7f71762e1f5e3394c7924ccb6 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 11 Mar 2024 09:04:59 +0100 Subject: [PATCH] add compose erxample --- docker-compose/.gitignore | 175 +++++++++++++++++++++++++++++ docker-compose/Dockerfile | 0 docker-compose/bun.lockb | Bin 0 -> 3124 bytes docker-compose/docker-compose.yaml | 7 ++ docker-compose/index.ts | 16 +++ docker-compose/package.json | 15 +++ docker-compose/tsconfig.json | 22 ++++ 7 files changed, 235 insertions(+) create mode 100644 docker-compose/.gitignore create mode 100644 docker-compose/Dockerfile create mode 100755 docker-compose/bun.lockb create mode 100644 docker-compose/docker-compose.yaml create mode 100644 docker-compose/index.ts create mode 100644 docker-compose/package.json create mode 100644 docker-compose/tsconfig.json diff --git a/docker-compose/.gitignore b/docker-compose/.gitignore new file mode 100644 index 0000000..468f82a --- /dev/null +++ b/docker-compose/.gitignore @@ -0,0 +1,175 @@ +# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore + +# Logs + +logs +_.log +npm-debug.log_ +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Caches + +.cache + +# Diagnostic reports (https://nodejs.org/api/report.html) + +report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json + +# 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 +*.lcov + +# nyc test coverage + +.nyc_output + +# Grunt intermediate storage (https://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/ + +# Snowpack dependency directory (https://snowpack.dev/) + +web_modules/ + +# TypeScript cache + +*.tsbuildinfo + +# Optional npm cache directory + +.npm + +# Optional eslint cache + +.eslintcache + +# Optional stylelint cache + +.stylelintcache + +# Microbundle cache + +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history + +.node_repl_history + +# Output of 'npm pack' + +*.tgz + +# Yarn Integrity file + +.yarn-integrity + +# dotenv environment variable files + +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) + +.parcel-cache + +# Next.js build output + +.next +out + +# Nuxt.js build / generate output + +.nuxt +dist + +# Gatsby files + +# Comment in the public line in if your project uses Gatsby and not Next.js + +# https://nextjs.org/blog/next-9-1#public-directory-support + +# public + +# vuepress build output + +.vuepress/dist + +# vuepress v2.x temp and cache directory + +.temp + +# Docusaurus cache and generated files + +.docusaurus + +# Serverless directories + +.serverless/ + +# FuseBox cache + +.fusebox/ + +# DynamoDB Local files + +.dynamodb/ + +# TernJS port file + +.tern-port + +# Stores VSCode versions used for testing VSCode extensions + +.vscode-test + +# yarn v2 + +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +# IntelliJ based IDEs +.idea + +# Finder (MacOS) folder config +.DS_Store diff --git a/docker-compose/Dockerfile b/docker-compose/Dockerfile new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose/bun.lockb b/docker-compose/bun.lockb new file mode 100755 index 0000000000000000000000000000000000000000..edbe32a3d8a7dc4477a864f90864b54d28ca2a30 GIT binary patch literal 3124 zcmY#Z)GsYA(of3F(@)JSQ%EY!;{sycoc!eMw9K4T-L(9o+{6;yG6OCq1_p+pf8EOi z`c6kgewxgvlp_*$jq{QBaRug!e3wJ#8CFzHS;7re1O)65ih%=-Zh-Q$VG0<4mVw2% zfFuw%cmiooAUy+0_X264p$+_u3=BL#8ps8!JJ5J<<=K1IS5C2M?)5fk{8IfU{cMNO zYo*1fXH?G5x|BIlKdM)4tF0wxzRj^$fwOkcS8dSIZcR-B8bc8Pg#rkO0I@01JuvfN zJ_SqSAz=E0fNHFf^vmMWgDeHpzYr*B0@M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