SHA256
22 lines
596 B
YAML
22 lines
596 B
YAML
services:
|
|
markmywords:
|
|
build: .
|
|
container_name: markmywords
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
# Configuration directory with password file
|
|
- ./config:/config:rw
|
|
# Content directory for markdown files (can be encrypted)
|
|
- ./content:/content:rw
|
|
# Data directory for search index
|
|
- ./data:/data:rw
|
|
environment:
|
|
# Set Flask environment
|
|
FLASK_ENV: production
|
|
# Enable file encryption
|
|
ENCRYPTION_ENABLED: "true"
|
|
# Python unbuffered output for real-time logs
|
|
PYTHONUNBUFFERED: 1
|
|
restart: unless-stopped
|