generated from coop-cloud/example
initial working recipe
This commit is contained in:
parent
c218855198
commit
62a4b4ad2b
|
@ -1,8 +1,10 @@
|
|||
TYPE={{ .Name }}
|
||||
TYPE=synapse-admin
|
||||
TIMEOUT=300
|
||||
ENABLE_AUTO_UPDATE=true
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
DOMAIN={{ .Name }}.example.com
|
||||
DOMAIN=synapse-admin.example.com
|
||||
|
||||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`'
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
|
22
README.md
22
README.md
|
@ -1,23 +1,23 @@
|
|||
# {{ .Name }}
|
||||
# Synapse Admin
|
||||
|
||||
{{ .Description }}
|
||||
[Synapse Admin](https://github.com/Awesome-Technologies/synapse-admin) is an admin interface for matrix synapse.
|
||||
|
||||
<!-- metadata -->
|
||||
|
||||
* **Category**: {{ .Category }}
|
||||
* **Status**: {{ .Status }}
|
||||
* **Image**: {{ .Image }}
|
||||
* **Healthcheck**: {{ .Healthcheck }}
|
||||
* **Backups**: {{ .Backups }}
|
||||
* **Email**: {{ .Email }}
|
||||
* **Tests**: {{ .Tests }}
|
||||
* **SSO**: {{ .SSO }}
|
||||
* **Category**: Apps
|
||||
* **Status**: 0, work-in-progress
|
||||
* **Image**: [awesometechnologies/synapse-admin](https://hub.docker.com/r/awesometechnologies/synapse-admin)
|
||||
* **Healthcheck**: Yes
|
||||
* **Backups**: No
|
||||
* **Email**: No
|
||||
* **Tests**: No
|
||||
* **SSO**: Yes
|
||||
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Quick start
|
||||
|
||||
* `abra app new {{ .Name }} --secrets`
|
||||
* `abra app new synapse-admin`
|
||||
* `abra app config <app-name>`
|
||||
* `abra app deploy <app-name>`
|
||||
|
||||
|
|
|
@ -3,14 +3,13 @@ version: "3.8"
|
|||
|
||||
services:
|
||||
app:
|
||||
image: nginx:1.20.0
|
||||
image: awesometechnologies/synapse-admin:0.8.7
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
|
@ -19,7 +18,8 @@ services:
|
|||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version="
|
||||
- "coop-cloud.${STACK_NAME}.version=0.0.1+0.8.7"
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 30s
|
||||
|
|
Loading…
Reference in New Issue