-
-
Notifications
You must be signed in to change notification settings - Fork 193
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 663 Bytes
/
docker-compose.yml
File metadata and controls
24 lines (23 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
notediscovery:
build: .
container_name: notediscovery
ports:
- "8000:8000"
volumes:
# Required: Your notes
- ./data:/app/data
# Optional: Uncomment to customize (file/folder must exist with content!)
# - ./config.yaml:/app/config.yaml
# - ./themes:/app/themes
# - ./plugins:/app/plugins
# - ./locales:/app/locales
restart: unless-stopped
environment:
- TZ=UTC
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 60s
timeout: 3s
retries: 3
start_period: 5s