10 Commits

Author SHA1 Message Date
e749910138 [mass update] fix supporting multiple domains while enforcing ssl
Some checks failed
continuous-integration/drone/pr Build is failing
2025-09-08 08:09:16 -07:00
b40e0f744c Update .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-08 10:09:12 -08:00
3wc
6ca24d2768 chore: publish 0.2.0+0.11.1 release
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-07 11:35:13 -05:00
3wc
d9023cbf0a Remove transitionary app volume 2023-03-07 11:34:47 -05:00
3wc
d92edbff37 Switch to self-hosted stack-ssh-deploy image [mass update]
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-21 11:49:55 -08:00
3wc
1734bd9137 Fix CI by adding networks: [mass update]
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-20 11:58:41 -08:00
3wc
1c8acefa17 Automatically generate catalogue on release [mass update]
Some checks failed
continuous-integration/drone/push Build is failing
Re: coop-cloud/recipes-catalogue-json#4
2023-01-20 10:27:11 -08:00
3wc
63049ca757 Update abra syntax in examples (finally) [mass update]
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-19 16:02:27 -08:00
3wc
8123f86ac9 Add... some volumes
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-16 22:04:55 -08:00
3wc
72783e3593 Switch back to tagged release 2023-01-16 19:48:15 -08:00
3 changed files with 29 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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
@ -43,9 +46,9 @@ services:
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "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"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
- "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