SHA256
Updated compose files.
This commit is contained in:
@@ -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
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
services:
|
|
||||||
markmywords:
|
|
||||||
build: .
|
|
||||||
container_name: markmywords
|
|
||||||
expose:
|
|
||||||
- 5000
|
|
||||||
volumes:
|
|
||||||
# Configuration directory with repositories.json
|
|
||||||
- ./config:/config:rw
|
|
||||||
# Data directory for cloned repositories and search index
|
|
||||||
- ./data:/data:rw
|
|
||||||
environment:
|
|
||||||
# Set Flask environment
|
|
||||||
FLASK_ENV: production
|
|
||||||
# Python unbuffered output for real-time logs
|
|
||||||
PYTHONUNBUFFERED: 1
|
|
||||||
restart: unless-stopped
|
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
markmywords:
|
markmywords:
|
||||||
build: .
|
build: .
|
||||||
container_name: markmywords_test
|
container_name: markmywords
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user