generated from coop-cloud/example
Compare commits
9 Commits
0.1.0+0.10
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b40e0f744c | |||
| 6ca24d2768 | |||
| d9023cbf0a | |||
| d92edbff37 | |||
| 1734bd9137 | |||
| 1c8acefa17 | |||
| 63049ca757 | |||
| 8123f86ac9 | |||
| 72783e3593 |
20
.drone.yml
20
.drone.yml
@ -3,10 +3,12 @@ kind: pipeline
|
||||
name: deploy to swarm-test.autonomic.zone
|
||||
steps:
|
||||
- name: deployment
|
||||
image: decentral1se/stack-ssh-deploy:latest
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: adaptauthoring
|
||||
networks:
|
||||
- proxy
|
||||
purge: true
|
||||
generate_secrets: true
|
||||
deploy_key:
|
||||
@ -24,11 +26,17 @@ trigger:
|
||||
- main
|
||||
---
|
||||
kind: pipeline
|
||||
name: recipe release
|
||||
name: generate recipe catalogue
|
||||
steps:
|
||||
- name: release a new version
|
||||
image: thecoopcloud/drone-abra:latest
|
||||
image: plugins/downstream
|
||||
settings:
|
||||
command: recipe adapt_authoring release
|
||||
deploy_key:
|
||||
from_secret: abra_bot_deploy_key
|
||||
server: https://build.coopcloud.tech
|
||||
token:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- toolshed/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
||||
@ -21,9 +21,9 @@ User interface for authoring eLearning courses using the Adapt framework • htt
|
||||
2. Deploy [`coop-cloud/traefik`]
|
||||
3. `abra app new adaptauthoring --secrets` (optionally with `--pass` if you'd like
|
||||
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
|
||||
5. `abra app YOURAPPDOMAIN deploy`
|
||||
5. `abra app deploy YOURAPPDOMAIN`
|
||||
|
||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|
||||
|
||||
16
compose.yml
16
compose.yml
@ -1,7 +1,7 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
image: 3wordchant/adaptauthoring:0.10.5
|
||||
image: git.coopcloud.tech/coop-cloud-chaos-patchs/adapt_authoring:0.11.1
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
@ -18,9 +18,12 @@ services:
|
||||
- FROM_EMAIL
|
||||
depends_on:
|
||||
- db
|
||||
#entrypoint: ['tail', '-f', '/dev/null']
|
||||
# entrypoint: ['tail', '-f', '/dev/null']
|
||||
volumes:
|
||||
- app:/adapt_authoring
|
||||
- adapt_data:/adapt_authoring/data
|
||||
- adapt_conf:/adapt_authoring/conf
|
||||
- adapt_frontend_build:/adapt_authoring/frontend/build
|
||||
- adapt_temp:/adapt_authoring/temp
|
||||
secrets:
|
||||
#- db_password
|
||||
- session_key
|
||||
@ -45,7 +48,7 @@ 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=0.1.0+0.10.5"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.0+0.11.1"
|
||||
db:
|
||||
image: mongo:3.7
|
||||
volumes:
|
||||
@ -59,8 +62,11 @@ networks:
|
||||
external: true
|
||||
internal:
|
||||
volumes:
|
||||
app:
|
||||
db:
|
||||
adapt_conf:
|
||||
adapt_data:
|
||||
adapt_temp:
|
||||
adapt_frontend_build:
|
||||
secrets:
|
||||
session_key:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user