Compare commits

..

6 Commits
main ... main

Author SHA1 Message Date
04a2f062be Merge pull request 'Fix some errors and deprecations, add abra.sh' (#3) from mac-chaffee/example:main into main
Reviewed-on: coop-cloud/example#3
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
2025-05-28 02:23:46 +00:00
dd6a48608a Fix deprecated traefik labels, add more instructions 2025-05-26 14:06:53 -04:00
874a5e1aa5 Fix auto-recipes-catalogue-json which moved to toolshed 2025-05-26 14:06:28 -04:00
d6523d8341 Add default abra.sh 2025-05-26 14:05:57 -04:00
ec1addc265
fix: use comments for .drone since not templated
I'm not sure updating `abra` to template these files is the best idea as
I'm actually hoping we'll be migrating away from this in the future. For
now, I use comments instead of leaving the ugly `{{ ... }}` in the file.
2025-01-03 17:56:54 +01:00
f2ca310307
fix: include release dir
See coop-cloud/example#2
2025-01-03 17:15:54 +01:00
5 changed files with 29 additions and 21 deletions

View File

@ -6,7 +6,7 @@ steps:
image: git.coopcloud.tech/coop-cloud/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: {{ .Name }} stack: example_com # UPDATE ME
generate_secrets: true generate_secrets: true
purge: true purge: true
deploy_key: deploy_key:
@ -14,9 +14,10 @@ steps:
networks: networks:
- proxy - proxy
environment: environment:
DOMAIN: {{ .Name }}.swarm-test.autonomic.zone DOMAIN: example.swarm-test.autonomic.zone # UPDATE ME
STACK_NAME: {{ .Name }} STACK_NAME: example_com # UPDATE ME
LETS_ENCRYPT_ENV: production LETS_ENCRYPT_ENV: staging
# Also set any config versions from abra.sh
trigger: trigger:
branch: branch:
- main - main
@ -32,7 +33,7 @@ steps:
from_secret: drone_abra-bot_token from_secret: drone_abra-bot_token
fork: true fork: true
repositories: repositories:
- coop-cloud/auto-recipes-catalogue-json - toolshed/auto-recipes-catalogue-json
trigger: trigger:
event: tag event: tag

View File

@ -1,17 +1,17 @@
# Freescout # {{ .Name }}
Open-source casework system running on Co-op cloud {{ .Description }}
<!-- metadata --> <!-- metadata -->
* **Category**: Apps * **Category**: {{ .Category }}
* **Status**: 0, work-in-progress * **Status**: {{ .Status }}
* **Image**: `tiredofit/freescout:php8.0-1.17.3` * **Image**: {{ .Image }}
* **Healthcheck**: No * **Healthcheck**: {{ .Healthcheck }}
* **Backups**: No * **Backups**: {{ .Backups }}
* **Email**: No * **Email**: {{ .Email }}
* **Tests**: No * **Tests**: {{ .Tests }}
* **SSO**: No * **SSO**: {{ .SSO }}
<!-- endmetadata --> <!-- endmetadata -->

2
abra.sh Executable file
View File

@ -0,0 +1,2 @@
# Set any config versions here
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs

View File

@ -1,11 +1,7 @@
--- ---
version: "3.8"
services: services:
app: app:
image: tiredofit/freescout:php8.0-1.17.3 image: nginx:1.27.5
environment:
- DB_
networks: networks:
- proxy - proxy
deploy: deploy:
@ -17,7 +13,16 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "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+1.17.3 ## Redirect from EXTRA_DOMAINS to DOMAIN
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
## Redirect HTTP to HTTPS
# - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https"
# - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
## When you're ready for release, run "abra recipe sync <name>" to set this
- "coop-cloud.${STACK_NAME}.version="
## Enable backups: https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-configure-backuprestore
# - "backupbot.backup=true"
# - "backupbot.backup.path=/some/path"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"] test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s interval: 30s

0
release/.git-keep-me Normal file
View File