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
|
image: decentral1se/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
host: swarm-test.autonomic.zone
|
host: swarm-test.autonomic.zone
|
||||||
stack: wordpress
|
stack: capsul
|
||||||
generate_secrets: true
|
generate_secrets: true
|
||||||
purge: true
|
purge: true
|
||||||
deploy_key:
|
deploy_key:
|
||||||
|
|
20
README.md
20
README.md
|
@ -1,16 +1,18 @@
|
||||||
# capsul
|
# 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 -->
|
<!-- metadata -->
|
||||||
* **Category**:
|
* **Category**: Apps
|
||||||
* **Status**:
|
* **Status**: ❸🍎
|
||||||
* **Image**: [`capsul-flask`](https://hub.docker.com/r/3wordchant/capsul-flask)
|
* **Image**: [`capsul-flask`](https://hub.docker.com/r/3wordchant/capsul-flask), ❹💣, own
|
||||||
* **Healthcheck**:
|
* **Healthcheck**: Yes
|
||||||
* **Backups**:
|
* **Backups**: No
|
||||||
* **Email**:
|
* **Email**: ❶💚
|
||||||
* **Tests**:
|
* **Tests**: ❷💛
|
||||||
* **SSO**:
|
* **SSO**: No
|
||||||
<!-- endmetadata -->
|
<!-- endmetadata -->
|
||||||
|
|
||||||
## Basic usage
|
## Basic usage
|
||||||
|
|
13
compose.yml
13
compose.yml
|
@ -29,7 +29,6 @@ services:
|
||||||
secrets:
|
secrets:
|
||||||
- hub_token
|
- hub_token
|
||||||
# - spoke_host_token
|
# - spoke_host_token
|
||||||
#entrypoint: ['tail', '-f', '/dev/null']
|
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
@ -43,12 +42,12 @@ services:
|
||||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
#- "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.SSLForceHost=true"
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||||
# healthcheck:
|
healthcheck:
|
||||||
# test: ["CMD", "wget", "--tries=1", "http://localhost:5000", "-O", "/dev/null"]
|
test: ["CMD", "wget", "-q", "--tries=1", "http://localhost:5000", "-O", "/dev/null"]
|
||||||
# interval: 30s
|
interval: 30s
|
||||||
# timeout: 10s
|
timeout: 10s
|
||||||
# retries: 10
|
retries: 10
|
||||||
# start_period: 1m
|
start_period: 1m
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: "postgres:9.6.5"
|
image: "postgres:9.6.5"
|
||||||
|
|
Loading…
Reference in New Issue