File size: 889 Bytes
3d4a4e7
 
 
 
 
 
 
 
f945e3e
3d4a4e7
f945e3e
 
 
3d4a4e7
f945e3e
3d4a4e7
 
 
 
 
f945e3e
3d4a4e7
 
 
 
 
 
 
 
 
f945e3e
 
3d4a4e7
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Development docker-compose for those preferring direct docker-compose usage
# Usage: docker-compose -f docker-compose.dev.yml up
version: '3.8'

services:
  yomitalk-dev:
    build:
      context: .
      dockerfile: Dockerfile
    volumes:
      - .:/app:cached
      - yomitalk-data:/app/data
      - yomitalk-voicevox:/app/voicevox_core
      # Mount for git credentials
      - ~/.gitconfig:/root/.gitconfig:ro
    environment:
      - VOICEVOX_ACCEPT_AGREEMENT=true
      - PAGER=cat
      - LESSCHARSET=utf-8
      - E2E_TEST_MODE=false
      - PYTHONPATH=/app
    ports:
      - "7860:7860"
    # Keep container running for development
    command: sleep infinity
    # Add capabilities for audio processing if needed
    cap_add:
      - SYS_PTRACE
    security_opt:
      - seccomp:unconfined
    working_dir: /app
    user: root

volumes:
  yomitalk-data:
  yomitalk-voicevox: