Use golang templates for go-abra

This commit is contained in:
decentral1se 2021-07-25 17:11:18 +02:00
parent 88d4dadca6
commit 33416cb10a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 19 additions and 16 deletions

View File

@ -1,6 +1,7 @@
TYPE=${REPO_NAME_KEBAB}
TYPE={{ .Type }}
DOMAIN={{ .RepoName }}.example.com
DOMAIN=${REPO_NAME_KEBAB}.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.${REPO_NAME_KEBAB}.example.com`'
#EXTRA_DOMAINS=', `www.{{ .RepoName }}.example.com`'
LETS_ENCRYPT_ENV=production

2
.gitignore vendored
View File

@ -1 +1 @@
/.envrc
.envrc

View File

@ -1,16 +1,18 @@
# ${REPO_NAME_TITLE}
# {{ .Name }}
${REPO_DESCRIPTION}
{{ .Description }}
<!-- metadata -->
* **Category**:
* **Status**:
* **Image**: [`${REPO_NAME}`](https://hub.docker.com/r/${REPO_NAME}/${REPO_NAME})
* **Healthcheck**:
* **Backups**:
* **Email**:
* **Tests**:
* **SSO**:
- **Category**:
- **Status**:
- **Image**: [`{{ .Name }}`](https://hub.docker.com/r/{{ .Name }}/{{ .Name }})
- **Healthcheck**:
- **Backups**:
- **Email**:
- **Tests**:
- **SSO**:
<!-- endmetadata -->
## Basic usage
@ -24,5 +26,5 @@ ${REPO_DESCRIPTION}
5. `abra app YOURAPPDOMAIN deploy`
6. Open the configured domain in your browser to finish set-up
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik