From 04d2ec37e8821fd0a0512a82979fc7a10a40cfe1 Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 17 Nov 2024 13:52:35 +0000 Subject: [PATCH] Add woodpecker --- .woodpecker.yml | 18 ++++++++++++++++++ README.md | 12 ++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .woodpecker.yml create mode 100644 README.md diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..0630466 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,18 @@ +when: + - event: [push, tag, pull_request_closed] + branch: main + +steps: + - name: Build and Publish Docker Image + image: woodpeckerci/plugin-docker-buildx:4.2 + settings: + platforms: linux/amd64 + repo: ${CI_REG_HOST}:${CI_REG_PORT}/${CI_REPO_OWNER}/${CI_REPO_NAME} + tags: latest + registry: http://${CI_REG_HOST}:${CI_REG_PORT} + insecure: true + buildkit_config: "[registry.\"${CI_REG_HOST}:${CI_REG_PORT}\"]\n http = true\n insecure = true" + username: + from_secret: CI_REG_USER + password: + from_secret: CI_REG_TOKEN diff --git a/README.md b/README.md new file mode 100644 index 0000000..d7da8a0 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Galaeth API Server + +Experimenting with different things + +Run locally by cloning and using `docker compose up` - this will pull and create a postgres container, and run the api server which will connect to postgres. + +Api can be accessed at `http://127.0.0.1:8080` and Swagger at `http://127.0.0.1/swagger` + +Default username/password set in docker compose and/or appsettings.json + + +[![status-badge](https://wci.alveus.dev/api/badges/24/status.svg)](https://wci.alveus.dev/repos/24)