mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-26 12:33:25 +00:00
38 lines
999 B
YAML
38 lines
999 B
YAML
# documentation: https://github.com/cupcakearmy/cryptgeon
|
|
# slogan: Secure note / file sharing service inspired by PrivNote.
|
|
# tags: cryptgeon, secure, note, sharing, privnote, file, sharing
|
|
|
|
services:
|
|
redis:
|
|
image: "redis:7-alpine"
|
|
command: "redis-server --maxmemory 200mb --maxmemory-policy allkeys-lru"
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- redis-cli
|
|
- PING
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 2
|
|
app:
|
|
image: "cupcakearmy/cryptgeon:latest"
|
|
depends_on:
|
|
- redis
|
|
environment:
|
|
- "SIZE_LIMIT=${SIZE_LIMIT:-4 MiB}"
|
|
- "MAX_VIEWS=${MAX_VIEWS:-100}"
|
|
- "MAX_EXPIRATION=${MAX_EXPIRATION:-360}"
|
|
- "ALLOW_ADVANCED=${ALLOW_ADVANCED:-true}"
|
|
- "ALLOW_FILES=${ALLOW_FILES:-true}"
|
|
- SERVICE_FQDN_CRYPTGEON_8000
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- curl
|
|
- "--fail"
|
|
- "http://127.0.0.1:8000/api/live/"
|
|
interval: 1m
|
|
timeout: 3s
|
|
retries: 2
|
|
start_period: 5s
|