Speech-to-Phrase Docker Compose

I am having a lot of difficulty setting up a working docker compose configuration for Speech-To-Phrase. Would anyone be able to post their configuration? I think my difficulty is with the commands and token. Is the URL external or internal?

I think I used piper tts

I will edit this post with compose

EDIT

services:

##########################################
#             OpenWakeWord               #
##########################################
  wakeword:
    container_name: openwakeword
    hostname: openwakeword
    restart: unless-stopped
    image: rhasspy/wyoming-openwakeword  
#    ports:
#      - 10400:10400#I do not expose port and use proxylocal to connect to HA in docker
    volumes:
      - /yourserverfolder/custom:/custom
    environment:
      - preload-model= 'ok_nabu'
      - custom-model-dir= /srv/main/docker/havoice/openwakeword/custom #I trained alexa wake word 
    networks:
      proxylocal:

##########################################
#                TTS-Piper               #
##########################################
  pipertts:
    container_name: pipertts
    hostname: pipertts
    restart: "unless-stopped"
    image: rhasspy/wyoming-piper    
    volumes:
       - /yourserverfolder/data:/data/
#    ports:
#      - "10200:10200" #I do not expose port and use proxylocal to connect to HA in docker
    command: --voice en_US-lessac-medium
    environment:
      PGID: 1015 #i create group to run container under
      PUID: 1015 #i create user to run container under
    networks:
      proxylocal: #"isolated network" created for containers communication.  
      proxywan: #only for container that need wan access

##########################################
#              NETWORKS                  #
##########################################      
networks:
  proxylocal:
    external: true
  proxywan:
    external: true

Its not in the compose above but i am using linuxserver.io faster-whisper in the above compose for Speech to Text

Speech-to-phrase would be a substitution for whisper STT. I think Piper is TTS?