Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
cba76564e8 | |||
b718378c5f |
11
.drone.yml
11
.drone.yml
@ -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: example_com # UPDATE ME
|
stack: {{ .Name }}
|
||||||
generate_secrets: true
|
generate_secrets: true
|
||||||
purge: true
|
purge: true
|
||||||
deploy_key:
|
deploy_key:
|
||||||
@ -14,10 +14,9 @@ steps:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
DOMAIN: example.swarm-test.autonomic.zone # UPDATE ME
|
DOMAIN: {{ .Name }}.swarm-test.autonomic.zone
|
||||||
STACK_NAME: example_com # UPDATE ME
|
STACK_NAME: {{ .Name }}
|
||||||
LETS_ENCRYPT_ENV: staging
|
LETS_ENCRYPT_ENV: production
|
||||||
# Also set any config versions from abra.sh
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
@ -33,7 +32,7 @@ steps:
|
|||||||
from_secret: drone_abra-bot_token
|
from_secret: drone_abra-bot_token
|
||||||
fork: true
|
fork: true
|
||||||
repositories:
|
repositories:
|
||||||
- toolshed/auto-recipes-catalogue-json
|
- coop-cloud/auto-recipes-catalogue-json
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event: tag
|
event: tag
|
||||||
|
20
README.md
20
README.md
@ -1,17 +1,17 @@
|
|||||||
# {{ .Name }}
|
# Freescout
|
||||||
|
|
||||||
{{ .Description }}
|
Open-source casework system running on Co-op cloud
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
* **Category**: {{ .Category }}
|
* **Category**: Apps
|
||||||
* **Status**: {{ .Status }}
|
* **Status**: 0, work-in-progress
|
||||||
* **Image**: {{ .Image }}
|
* **Image**: `tiredofit/freescout:php8.0-1.17.3`
|
||||||
* **Healthcheck**: {{ .Healthcheck }}
|
* **Healthcheck**: No
|
||||||
* **Backups**: {{ .Backups }}
|
* **Backups**: No
|
||||||
* **Email**: {{ .Email }}
|
* **Email**: No
|
||||||
* **Tests**: {{ .Tests }}
|
* **Tests**: No
|
||||||
* **SSO**: {{ .SSO }}
|
* **SSO**: No
|
||||||
|
|
||||||
<!-- endmetadata -->
|
<!-- endmetadata -->
|
||||||
|
|
||||||
|
2
abra.sh
2
abra.sh
@ -1,2 +0,0 @@
|
|||||||
# Set any config versions here
|
|
||||||
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs
|
|
17
compose.yml
17
compose.yml
@ -1,7 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: nginx:1.27.5
|
image: tiredofit/freescout:php8.0-1.17.3
|
||||||
|
environment:
|
||||||
|
- DB_
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
deploy:
|
deploy:
|
||||||
@ -13,16 +17,7 @@ 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}"
|
||||||
## Redirect from EXTRA_DOMAINS to DOMAIN
|
- coop-cloud.${STACK_NAME}.version=0.1+1.17.3
|
||||||
#- "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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user