Update Drone config, enable healthcheck
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
23cc0543a9
commit
0a337d2dfc
|
@ -6,7 +6,7 @@ steps:
|
|||
image: decentral1se/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: wordpress
|
||||
stack: capsul
|
||||
generate_secrets: true
|
||||
purge: true
|
||||
deploy_key:
|
||||
|
|
20
README.md
20
README.md
|
@ -1,16 +1,18 @@
|
|||
# capsul
|
||||
|
||||
Simple, fast, private compute
|
||||
[![Build Status](https://drone.autonomic.zone/api/badges/coop-cloud/capsul/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/coop-cloud/capsul)
|
||||
|
||||
Simple, fast, private compute. https://capsul.org
|
||||
|
||||
<!-- metadata -->
|
||||
* **Category**:
|
||||
* **Status**:
|
||||
* **Image**: [`capsul-flask`](https://hub.docker.com/r/3wordchant/capsul-flask)
|
||||
* **Healthcheck**:
|
||||
* **Backups**:
|
||||
* **Email**:
|
||||
* **Tests**:
|
||||
* **SSO**:
|
||||
* **Category**: Apps
|
||||
* **Status**: ❸🍎
|
||||
* **Image**: [`capsul-flask`](https://hub.docker.com/r/3wordchant/capsul-flask), ❹💣, own
|
||||
* **Healthcheck**: Yes
|
||||
* **Backups**: No
|
||||
* **Email**: ❶💚
|
||||
* **Tests**: ❷💛
|
||||
* **SSO**: No
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Basic usage
|
||||
|
|
13
compose.yml
13
compose.yml
|
@ -29,7 +29,6 @@ services:
|
|||
secrets:
|
||||
- hub_token
|
||||
# - spoke_host_token
|
||||
#entrypoint: ['tail', '-f', '/dev/null']
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
@ -43,12 +42,12 @@ 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}"
|
||||
# healthcheck:
|
||||
# test: ["CMD", "wget", "--tries=1", "http://localhost:5000", "-O", "/dev/null"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "--tries=1", "http://localhost:5000", "-O", "/dev/null"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
|
||||
db:
|
||||
image: "postgres:9.6.5"
|
||||
|
|
Reference in New Issue