Initial import

This commit is contained in:
3wc 2023-08-19 16:30:18 +02:00
commit bf88e44249
5 changed files with 96 additions and 0 deletions

38
.drone.yml Normal file
View File

@ -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

8
.env.sample Normal file
View File

@ -0,0 +1,8 @@
TYPE=caddy
DOMAIN=caddy.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.caddy.example.com`'
LETS_ENCRYPT_ENV=production

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.envrc

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# caddy
> One line description of the recipe
<!-- metadata -->
* **Category**: Apps
* **Status**: 0
* **Image**: [`caddy`](https://hub.docker.com/r/caddy), 4, upstream
* **Healthcheck**: No
* **Backups**: No
* **Email**: No
* **Tests**: No
* **SSO**: No
<!-- endmetadata -->
## Quick start
* `abra app new caddy --secrets`
* `abra app config <app-name>`
* `abra app deploy <app-name>`
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).

25
compose.yml Normal file
View File

@ -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: