From f0c5f0bdbd7dda0f44fdf274af29be1d5e58179f Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 1 Aug 2024 06:00:57 +0100 Subject: [PATCH] oopsie --- .gitea/workflows/deploy-api.yml | 28 ++++++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ docker/docker-compose.yml | 17 ----------------- 3 files changed, 49 insertions(+), 17 deletions(-) create mode 100644 .gitea/workflows/deploy-api.yml create mode 100644 LICENSE delete mode 100644 docker/docker-compose.yml diff --git a/.gitea/workflows/deploy-api.yml b/.gitea/workflows/deploy-api.yml new file mode 100644 index 0000000..e6aa7f7 --- /dev/null +++ b/.gitea/workflows/deploy-api.yml @@ -0,0 +1,28 @@ +name: Deploy API + +on: + push: + branches: ["master"] + paths: [".gitea/workflows/deploy-api.yml", "API/**", "!API/README.md"] + +jobs: + docker: + strategy: + matrix: + arch: ["ubuntu-latest"] + runs-on: ${{ matrix.arch }} + + # Steps to run + steps: + # Checkout the repo + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + # Deploy to Dokku + - name: Deploy to Dokku + uses: dokku/github-action@master + with: + git_remote_url: "ssh://dokku@10.0.50.136:22/bs-tracker" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f23aa12 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Liam (Fascinated). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml deleted file mode 100644 index 57c27bc..0000000 --- a/docker/docker-compose.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: '3.8' - -services: - mongodb: - image: mongo:latest - container_name: mongodb - ports: - - "27000:27017" - volumes: - - ./mongodb:/data/db - questdb: - image: questdb/questdb:8.1.0 - ports: - - "8812:8812" - - "9000:9000" - volumes: - - "./questdb:/var/lib/questdb" \ No newline at end of file