Skip to content

Commit 7c8ebcd

Browse files
authored
Merge pull request coollabsio#3328 from cupcakearmy/next
add cryptgeon template
2 parents b074307 + d469f4b commit 7c8ebcd

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

templates/compose/cryptgeon.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# documentation: https://github.com/cupcakearmy/cryptgeon
2+
# slogan: Secure note / file sharing service inspired by PrivNote.
3+
# tags: cryptgeon, secure, note, sharing, privnote, file, sharing
4+
5+
services:
6+
redis:
7+
image: "redis:7-alpine"
8+
command: "redis-server --maxmemory 200mb --maxmemory-policy allkeys-lru"
9+
healthcheck:
10+
test:
11+
- CMD
12+
- redis-cli
13+
- PING
14+
interval: 5s
15+
timeout: 10s
16+
retries: 2
17+
app:
18+
image: "cupcakearmy/cryptgeon:latest"
19+
depends_on:
20+
- redis
21+
environment:
22+
- "SIZE_LIMIT=${SIZE_LIMIT:-4 MiB}"
23+
- "MAX_VIEWS=${MAX_VIEWS:-100}"
24+
- "MAX_EXPIRATION=${MAX_EXPIRATION:-360}"
25+
- "ALLOW_ADVANCED=${ALLOW_ADVANCED:-true}"
26+
- "ALLOW_FILES=${ALLOW_FILES:-true}"
27+
- SERVICE_FQDN_CRYPTGEON_8000
28+
healthcheck:
29+
test:
30+
- CMD
31+
- curl
32+
- "--fail"
33+
- "http://127.0.0.1:8000/api/live/"
34+
interval: 1m
35+
timeout: 3s
36+
retries: 2
37+
start_period: 5s

0 commit comments

Comments
 (0)