Compare commits
2 Commits
49622215ad
...
0a337d2dfc
Author | SHA1 | Date |
---|---|---|
3wc | 0a337d2dfc | |
3wc | 23cc0543a9 |
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: deploy to swarm-test.autonomic.zone
|
||||
steps:
|
||||
- name: deployment
|
||||
image: decentral1se/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: capsul
|
||||
generate_secrets: true
|
||||
purge: true
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm_test
|
||||
environment:
|
||||
DOMAIN: capsul.swarm-test.autonomic.zone
|
||||
STACK_NAME: capsul
|
||||
LETS_ENCRYPT_ENV: production
|
||||
SECRET_HUB_TOKEN_VERSION: v1
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
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