mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-24 16:01:02 +00:00
28 lines
618 B
YAML
28 lines
618 B
YAML
services:
|
|
silverbullet:
|
|
image: "ghcr.io/silverbulletmd/silverbullet:latest"
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: unless-stopped
|
|
environment:
|
|
SB_USER: "${SB_USERNAME}:${SB_PASSWORD}"
|
|
volumes:
|
|
- "${SPACE_DIR}:/space"
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:3000"
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- curl --fail http://127.0.0.1:3000/.instance || exit 1
|
|
start_period: 15s
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
- 1panel-network
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|