Skip to content

Commit dd1f6fc

Browse files
authored
Merge pull request #5125 from BorisLord/addServiceDenoKV
Add DenoKV one click service
2 parents 86e10fb + e86e96a commit dd1f6fc

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

public/svgs/denoKV.svg

+1
Loading

templates/compose/denoKV.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# documentation: https://docs.deno.com/deploy/kv/manual/
2+
# slogan: The Denoland key-value database
3+
# tags: deno, kv, key-value, database
4+
# logo: svgs/deno.svg
5+
# port: 4512
6+
7+
services:
8+
denokv:
9+
image: ghcr.io/denoland/denokv:latest
10+
environment:
11+
- 'ACCESS_TOKEN=${SERVICE_PASSWORD_DENOKV}'
12+
- SERVICE_FQDN_DENOKV_4512
13+
volumes:
14+
- '${COOLIFY_VOLUME_APP}:/data'
15+
command: '--sqlite-path /data/denokv.sqlite serve --access-token ${SERVICE_PASSWORD_DENOKV}'
16+
healthcheck:
17+
test:
18+
- CMD
19+
- nc
20+
- '-zv'
21+
- 127.0.0.1
22+
- '4512'
23+
interval: 5s
24+
timeout: 5s
25+
retries: 3

0 commit comments

Comments
 (0)