SHA256
30 lines
616 B
YAML
30 lines
616 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
markmywords:
|
|
build: .
|
|
container_name: markmywords
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
# Configuration directory with repositories.json
|
|
- ./config:/config:ro
|
|
# Data directory for cloned repositories and search index
|
|
- markmywords_data:/data
|
|
environment:
|
|
# Set Flask environment
|
|
FLASK_ENV: production
|
|
# Python unbuffered output for real-time logs
|
|
PYTHONUNBUFFERED: 1
|
|
restart: unless-stopped
|
|
networks:
|
|
- markmywords
|
|
|
|
networks:
|
|
markmywords:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
markmywords_data:
|
|
driver: local
|