Allow heading tags (h1-h6) in ContentSanitizer so news editor headings render
This commit is contained in:
23
services/enhance-worker/docker-compose.example.yml
Normal file
23
services/enhance-worker/docker-compose.example.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
enhance-worker:
|
||||
build: .
|
||||
container_name: skinbase-enhance-worker
|
||||
ports:
|
||||
- "127.0.0.1:8095:8095"
|
||||
environment:
|
||||
WORKER_TOKEN: "change-this-token"
|
||||
WORKER_ENGINE: "pillow"
|
||||
WORKER_DEVICE: "cpu"
|
||||
WORKER_MAX_UPLOAD_MB: "20"
|
||||
WORKER_MAX_INPUT_WIDTH: "4096"
|
||||
WORKER_MAX_INPUT_HEIGHT: "4096"
|
||||
WORKER_MAX_OUTPUT_WIDTH: "8192"
|
||||
WORKER_MAX_OUTPUT_HEIGHT: "8192"
|
||||
WORKER_RESULT_TTL_MINUTES: "60"
|
||||
WORKER_REALESRGAN_OUTPUT_EXT: "webp"
|
||||
volumes:
|
||||
- ./storage/tmp:/app/storage/tmp
|
||||
- ./storage/output:/app/storage/output
|
||||
- ./bin:/app/bin:ro
|
||||
- ./models:/app/models:ro
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user