version: '3.9'

networks:
  speech-utils:
    driver: bridge
    ipam:
      config:
        - subnet: 172.41.0.0/16

services:
  redis:
    image: redis:alpine
    ports:
      - "3379:6379"
    networks:
      speech-utils:
        ipv4_address: 172.41.0.5

  redis-auth:
    image: redis:alpine
    command: redis-server /tmp/redis.conf
    ports:
      - "3380:6379"
    volumes:
      - ./tmp:/tmp
    networks:
      speech-utils:
        ipv4_address: 172.41.0.6

  webhook-tts-scaffold:
    image: jambonz/webhook-tts-test-scaffold:latest
    ports:
      - "3100:3000/tcp"
    volumes:
      - ./test-apps:/tmp
    networks:
      speech-utils:
        ipv4_address: 172.41.0.10
    
