Update m3u-editor service configuration to include additional environment variables and improve clarity in the setup.
This commit is contained in:
13
komodo/media-server/meilisearch/.env.sample
Normal file
13
komodo/media-server/meilisearch/.env.sample
Normal file
@@ -0,0 +1,13 @@
|
||||
# Meilisearch port (host side)
|
||||
MEILI_PORT=7700
|
||||
|
||||
# Environment: 'production' or 'development'
|
||||
# In production, MEILI_MASTER_KEY is required (min 16 bytes)
|
||||
MEILI_ENV=production
|
||||
|
||||
# Master key for API authentication (required in production)
|
||||
# Generate one with: openssl rand -base64 32
|
||||
MEILI_MASTER_KEY=your_secure_master_key_min_16_bytes
|
||||
|
||||
# Disable anonymous analytics sent to Meili
|
||||
MEILI_NO_ANALYTICS=true
|
||||
21
komodo/media-server/meilisearch/compose.yaml
Normal file
21
komodo/media-server/meilisearch/compose.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:latest
|
||||
container_name: meilisearch
|
||||
ports:
|
||||
- "${MEILI_PORT:-7700}:7700"
|
||||
environment:
|
||||
- MEILI_ENV=${MEILI_ENV:-production}
|
||||
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
||||
- MEILI_NO_ANALYTICS=${MEILI_NO_ANALYTICS:-true}
|
||||
volumes:
|
||||
- meili_data:/meili_data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
volumes:
|
||||
meili_data:
|
||||
Reference in New Issue
Block a user