generated from coop-cloud/example
Very initial setup, untested :)
This commit is contained in:
parent
4b79793111
commit
f928656f5a
|
@ -1,8 +1,8 @@
|
|||
TYPE={{ .Name }}
|
||||
TYPE=agora
|
||||
|
||||
DOMAIN={{ .Name }}.example.com
|
||||
DOMAIN=agor.ai
|
||||
|
||||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`'
|
||||
#EXTRA_DOMAINS=', `www.agora.example.com`'
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
|
31
README.md
31
README.md
|
@ -1,24 +1,31 @@
|
|||
# {{ .Name }}
|
||||
# Agora
|
||||
|
||||
{{ .Description }}
|
||||
> An Agora is a Knowledge Commons.
|
||||
|
||||
<!-- metadata -->
|
||||
|
||||
* **Category**: {{ .Category }}
|
||||
* **Status**: {{ .Status }}
|
||||
* **Image**: {{ .Image }}
|
||||
* **Healthcheck**: {{ .Healthcheck }}
|
||||
* **Backups**: {{ .Backups }}
|
||||
* **Email**: {{ .Email }}
|
||||
* **Tests**: {{ .Tests }}
|
||||
* **SSO**: {{ .SSO }}
|
||||
* **Category**: Apps
|
||||
* **Status**: 0
|
||||
* **Image**: [`agora`](https://hub.docker.com/r/agora), 4, upstream
|
||||
* **Healthcheck**: No
|
||||
* **Backups**: No
|
||||
* **Email**: No
|
||||
* **Tests**: No
|
||||
* **SSO**: No
|
||||
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Quick start
|
||||
|
||||
* `abra app new {{ .Name }} --secrets`
|
||||
* `abra app new agora --secrets`
|
||||
* Currently --secrets doesn't do anything.
|
||||
* `abra app config <app-name>`
|
||||
* WIP :)
|
||||
* `abra app deploy <app-name>`
|
||||
* WIP :)
|
||||
|
||||
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
||||
## Learn more
|
||||
|
||||
For more on running this recipe, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
||||
|
||||
For more on the Agora, please refer to the reference Agora at [`anagora.org`](https://anagora.org) and https://anagora.org/go/agora-chapter.
|
||||
|
|
17
compose.yml
17
compose.yml
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||
|
||||
services:
|
||||
app:
|
||||
image: nginx:1.20.0
|
||||
image: git.coopcloud.tech/flancian/agora
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
|
@ -11,7 +11,7 @@ services:
|
|||
condition: on-failure
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=5017"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
|
@ -20,12 +20,13 @@ services:
|
|||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version="
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
# Disabling health checks during development as per https://docs.coopcloud.tech/maintainers/handbook/.
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
|
Loading…
Reference in New Issue