Updated compose files.

This commit is contained in:
Discsearcher
2026-08-29 01:55:27 -04:00
parent 909690f4f9
commit bbd2df680b
3 changed files with 30 additions and 18 deletions
+29
View File
@@ -0,0 +1,29 @@
services:
markmywords:
build: .
container_name: markmywords
expose:
- 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
networks:
- markmywords-standalone
networks:
markmywords-standalone:
name: markmywords-standalone-network
driver: bridge
external: true