Skip to content

Commit b10a229

Browse files
committed
fix cryptgeon
1 parent 7c8ebcd commit b10a229

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

templates/compose/cryptgeon.yaml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,22 @@
11
# documentation: https://github.com/cupcakearmy/cryptgeon
22
# slogan: Secure note / file sharing service inspired by PrivNote.
33
# tags: cryptgeon, secure, note, sharing, privnote, file, sharing
4+
# logo: svgs/cryptgeon.svg
5+
# port: 8000
46

57
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
178
app:
18-
image: "cupcakearmy/cryptgeon:latest"
19-
depends_on:
20-
- redis
9+
image: cupcakearmy/cryptgeon:latest
2110
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}"
2711
- SERVICE_FQDN_CRYPTGEON_8000
12+
- SIZE_LIMIT=${SIZE_LIMIT:-4 MiB}
13+
- MAX_VIEWS=${MAX_VIEWS:-100}
14+
- MAX_EXPIRATION=${MAX_EXPIRATION:-360}
15+
- ALLOW_ADVANCED=${ALLOW_ADVANCED:-true}
16+
- ALLOW_FILES=${ALLOW_FILES:-true}
17+
depends_on:
18+
redis:
19+
condition: service_healthy
2820
healthcheck:
2921
test:
3022
- CMD
@@ -35,3 +27,15 @@ services:
3527
timeout: 3s
3628
retries: 2
3729
start_period: 5s
30+
31+
redis:
32+
image: redis:7-alpine
33+
command: "redis-server --maxmemory 200mb --maxmemory-policy allkeys-lru"
34+
healthcheck:
35+
test:
36+
- CMD
37+
- redis-cli
38+
- PING
39+
interval: 5s
40+
timeout: 10s
41+
retries: 2

0 commit comments

Comments
 (0)