forked from coop-cloud/example
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
04a2f062be | |||
dd6a48608a | |||
874a5e1aa5 | |||
d6523d8341 | |||
ec1addc265 | |||
f2ca310307 |
11
.drone.yml
11
.drone.yml
@ -6,7 +6,7 @@ steps:
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: {{ .Name }}
|
||||
stack: example_com # UPDATE ME
|
||||
generate_secrets: true
|
||||
purge: true
|
||||
deploy_key:
|
||||
@ -14,9 +14,10 @@ steps:
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
DOMAIN: {{ .Name }}.swarm-test.autonomic.zone
|
||||
STACK_NAME: {{ .Name }}
|
||||
LETS_ENCRYPT_ENV: production
|
||||
DOMAIN: example.swarm-test.autonomic.zone # UPDATE ME
|
||||
STACK_NAME: example_com # UPDATE ME
|
||||
LETS_ENCRYPT_ENV: staging
|
||||
# Also set any config versions from abra.sh
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
@ -32,7 +33,7 @@ steps:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- coop-cloud/auto-recipes-catalogue-json
|
||||
- toolshed/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
20
README.md
20
README.md
@ -1,17 +1,17 @@
|
||||
# Freescout
|
||||
# {{ .Name }}
|
||||
|
||||
Open-source casework system running on Co-op cloud
|
||||
{{ .Description }}
|
||||
|
||||
<!-- metadata -->
|
||||
|
||||
* **Category**: Apps
|
||||
* **Status**: 0, work-in-progress
|
||||
* **Image**: `tiredofit/freescout:php8.0-1.17.3`
|
||||
* **Healthcheck**: No
|
||||
* **Backups**: No
|
||||
* **Email**: No
|
||||
* **Tests**: No
|
||||
* **SSO**: No
|
||||
* **Category**: {{ .Category }}
|
||||
* **Status**: {{ .Status }}
|
||||
* **Image**: {{ .Image }}
|
||||
* **Healthcheck**: {{ .Healthcheck }}
|
||||
* **Backups**: {{ .Backups }}
|
||||
* **Email**: {{ .Email }}
|
||||
* **Tests**: {{ .Tests }}
|
||||
* **SSO**: {{ .SSO }}
|
||||
|
||||
<!-- endmetadata -->
|
||||
|
||||
|
2
abra.sh
Executable file
2
abra.sh
Executable file
@ -0,0 +1,2 @@
|
||||
# Set any config versions here
|
||||
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs
|
17
compose.yml
17
compose.yml
@ -1,11 +1,7 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: tiredofit/freescout:php8.0-1.17.3
|
||||
environment:
|
||||
- DB_
|
||||
image: nginx:1.27.5
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
@ -17,7 +13,16 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "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:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 30s
|
||||
|
0
release/.git-keep-me
Normal file
0
release/.git-keep-me
Normal file
Loading…
x
Reference in New Issue
Block a user