Merge pull request #5125 from BorisLord/addServiceDenoKV
Add DenoKV one click service
This commit is contained in:
25
templates/compose/denoKV.yaml
Normal file
25
templates/compose/denoKV.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
# documentation: https://docs.deno.com/deploy/kv/manual/
|
||||
# slogan: The Denoland key-value database
|
||||
# tags: deno, kv, key-value, database
|
||||
# logo: svgs/deno.svg
|
||||
# port: 4512
|
||||
|
||||
services:
|
||||
denokv:
|
||||
image: ghcr.io/denoland/denokv:latest
|
||||
environment:
|
||||
- 'ACCESS_TOKEN=${SERVICE_PASSWORD_DENOKV}'
|
||||
- SERVICE_FQDN_DENOKV_4512
|
||||
volumes:
|
||||
- '${COOLIFY_VOLUME_APP}:/data'
|
||||
command: '--sqlite-path /data/denokv.sqlite serve --access-token ${SERVICE_PASSWORD_DENOKV}'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- nc
|
||||
- '-zv'
|
||||
- 127.0.0.1
|
||||
- '4512'
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
Reference in New Issue
Block a user