31 lines
669 B
YAML
31 lines
669 B
YAML
services:
|
|
silverbullet:
|
|
image: ghcr.io/silverbulletmd/silverbullet
|
|
container_name: silverbullet
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./space:/space
|
|
- ./.ssh:/home/silverbullet/.ssh:ro
|
|
ports:
|
|
- "53510:3000"
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
- "autoheal=true"
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
cpus: '0.5'
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl --fail http://localhost:3000/.ping || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|