commit bf88e44249b71bf6e5c7fb5434a758dfdc5cc86e Author: 3wc <3wc@doesthisthing.work> Date: Sat Aug 19 16:30:18 2023 +0200 Initial import diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..3587265 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,38 @@ +--- +kind: pipeline +name: deploy to swarm-test.autonomic.zone +steps: + - name: deployment + image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest + settings: + host: swarm-test.autonomic.zone + stack: {{ .Name }} + generate_secrets: true + purge: true + deploy_key: + from_secret: drone_ssh_swarm_test + networks: + - proxy + environment: + DOMAIN: {{ .Name }}.swarm-test.autonomic.zone + STACK_NAME: {{ .Name }} + LETS_ENCRYPT_ENV: production +trigger: + branch: + - main +--- +kind: pipeline +name: generate recipe catalogue +steps: + - name: release a new version + image: plugins/downstream + settings: + server: https://build.coopcloud.tech + token: + from_secret: drone_abra-bot_token + fork: true + repositories: + - coop-cloud/auto-recipes-catalogue-json + +trigger: + event: tag diff --git a/.env.sample b/.env.sample new file mode 100644 index 0000000..08e3602 --- /dev/null +++ b/.env.sample @@ -0,0 +1,8 @@ +TYPE=caddy + +DOMAIN=caddy.example.com + +## Domain aliases +#EXTRA_DOMAINS=', `www.caddy.example.com`' + +LETS_ENCRYPT_ENV=production diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a6353d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.envrc diff --git a/README.md b/README.md new file mode 100644 index 0000000..0004c77 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# caddy + +> One line description of the recipe + + + +* **Category**: Apps +* **Status**: 0 +* **Image**: [`caddy`](https://hub.docker.com/r/caddy), 4, upstream +* **Healthcheck**: No +* **Backups**: No +* **Email**: No +* **Tests**: No +* **SSO**: No + + + +## Quick start + +* `abra app new caddy --secrets` +* `abra app config ` +* `abra app deploy ` + +For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech). diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..b605d1e --- /dev/null +++ b/compose.yml @@ -0,0 +1,25 @@ +--- +version: "3.8" + +services: + app: + image: lucaslorentz/caddy-docker-proxy:ci-alpine + ports: + - 80:80 + - 443:443 + environment: + - CADDY_INGRESS_NETWORKS=proxy + networks: + - proxy + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - caddy_data:/data + labels: + caddy.email: "${LE_EMAIL}" + +networks: + proxy: + external: true + +volumes: + caddy_data: