generated from coop-cloud/example
Compare commits
18 Commits
0.1.2+v1.1
...
0.8.1+v1.1
Author | SHA1 | Date | |
---|---|---|---|
938e40ac99 | |||
316f70c69c | |||
33f7488c9a | |||
5669976814 | |||
1a81fe6d0d | |||
07f7e73e28 | |||
f191821073 | |||
09738a4c34 | |||
11130fb45b | |||
9ea387ed84 | |||
aaf3701144 | |||
50d823ebe9 | |||
5868f9a08f | |||
3b645efe52 | |||
78b892dd6b | |||
c201c39fde | |||
2ca6367f13 | |||
2bde9a6e11 |
24
.drone.yml
24
.drone.yml
@ -3,10 +3,12 @@ kind: pipeline
|
|||||||
name: deploy to swarm-test.autonomic.zone
|
name: deploy to swarm-test.autonomic.zone
|
||||||
steps:
|
steps:
|
||||||
- name: deployment
|
- name: deployment
|
||||||
image: decentral1se/stack-ssh-deploy:latest
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
host: swarm-test.autonomic.zone
|
host: swarm-test.autonomic.zone
|
||||||
stack: element-web
|
stack: element-web
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
purge: true
|
purge: true
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_ssh_swarm_test
|
from_secret: drone_ssh_swarm_test
|
||||||
@ -33,23 +35,17 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: recipe release
|
name: generate recipe catalogue
|
||||||
steps:
|
steps:
|
||||||
- name: release a new version
|
- name: release a new version
|
||||||
image: decentral1se/drone-abra:latest
|
|
||||||
settings:
|
|
||||||
command: recipe element-web release
|
|
||||||
deploy_key:
|
|
||||||
from_secret: abra_bot_deploy_key
|
|
||||||
|
|
||||||
- name: trigger downstream builds
|
|
||||||
image: plugins/downstream
|
image: plugins/downstream
|
||||||
settings:
|
settings:
|
||||||
server: https://drone.autonomic.zone
|
server: https://build.coopcloud.tech
|
||||||
token:
|
token:
|
||||||
from_secret: decentral1se_token
|
from_secret: drone_abra-bot_token
|
||||||
fork: true
|
fork: true
|
||||||
repositories:
|
repositories:
|
||||||
- coop-cloud/auto-apps-json
|
- coop-cloud/auto-recipes-catalogue-json
|
||||||
depends_on:
|
|
||||||
- release a new version
|
trigger:
|
||||||
|
event: tag
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
TYPE=element-web
|
TYPE=element-web
|
||||||
|
TIMEOUT=400
|
||||||
|
|
||||||
DOMAIN=element-web.example.com
|
DOMAIN=element-web.example.com
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
HOMESERVER=matrix.example.com
|
HOMESERVER=matrix-synapse.example.com
|
||||||
SERVER_NAME=mymatrix
|
SERVER_NAME=mymatrix
|
||||||
BRAND=mymatrix
|
BRAND=mymatrix
|
||||||
|
@ -21,9 +21,9 @@ A glossy Matrix collaboration client for the web.
|
|||||||
2. Deploy [`coop-cloud/traefik`]
|
2. Deploy [`coop-cloud/traefik`]
|
||||||
3. `abra app new ${REPO_NAME} --secrets` (optionally with `--pass` if you'd like
|
3. `abra app new ${REPO_NAME} --secrets` (optionally with `--pass` if you'd like
|
||||||
to save secrets in `pass`)
|
to save secrets in `pass`)
|
||||||
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
|
||||||
your Docker swarm box
|
your Docker swarm box
|
||||||
5. `abra app YOURAPPDOMAIN deploy`
|
5. `abra app deploy YOURAPPDOMAIN`
|
||||||
6. Open the configured domain in your browser to finish set-up
|
6. Open the configured domain in your browser to finish set-up
|
||||||
|
|
||||||
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||||
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "vectorim/element-web:v1.10.10"
|
image: "vectorim/element-web:v1.11.78"
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN
|
- DOMAIN
|
||||||
- HOMESERVER
|
- HOMESERVER
|
||||||
@ -22,7 +22,7 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.1.2+v1.10.10"
|
- "coop-cloud.${STACK_NAME}.version=0.8.1+v1.11.78"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
Reference in New Issue
Block a user