This commit is contained in:
Philipp Rothmann 2022-09-07 12:24:30 +02:00
commit 8460969ea1
4 changed files with 81 additions and 0 deletions

8
.env.sample Normal file
View File

@ -0,0 +1,8 @@
TYPE=argus
DOMAIN=argus.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.argus.example.com`'
LETS_ENCRYPT_ENV=production

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.envrc

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# argus
> One line description of the recipe
<!-- metadata -->
* **Category**: Apps
* **Status**: 0
* **Image**: [`argus`](https://hub.docker.com/r/argus), 4, upstream
* **Healthcheck**: No
* **Backups**: No
* **Email**: No
* **Tests**: No
* **SSO**: No
<!-- endmetadata -->
## Quick start
* `abra app new argus --secrets`
* `abra app config <app-name>`
* `abra app deploy <app-name>`
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).

48
compose.yml Normal file
View File

@ -0,0 +1,48 @@
---
version: "3.8"
services:
app:
image: releaseargus/argus:latest
volumes:
- db:/app/data/
configs:
- source: config_yml
target: /app/config
environment:
ARGUS_UID: 911 # Optional UID override
ARGUS_GID: 911 # Optional GID override
restart: always
volumes:
- db
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
- "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="
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
configs:
config_yml:
name: ${STACK_NAME}_config_yml_${CONFIG_YML_VERSION}
file: config.yml.tmpl
template_driver: golang
volumes:
db:
networks:
proxy:
external: true