Files

44 lines
963 B
YAML
Executable File

services:
# Fulloch AI
app:
build:
context: .
env_file:
- .env
container_name: fulloch-ai
network_mode: host
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
group_add:
- audio
environment:
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native
volumes:
- ./data:/app/data:rw
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
- ${HOME}/.config/pulse/cookie:/home/appuser/.config/pulse/cookie:ro
healthcheck:
test: ["CMD-SHELL", "pgrep -f 'python app.py' || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 60s
# Web Search - Searxng
searxng:
image: searxng/searxng:latest
container_name: searxng
ports:
- "8080:8080"
volumes:
- ./searxng_data:/etc/searxng:rw
restart: unless-stopped
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE