Use golang templates for go-abra
This commit is contained in:
parent
88d4dadca6
commit
33416cb10a
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
/.envrc
|
||||
.envrc
|
||||
|
|
26
README.md
26
README.md
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue