#Issue playing audio while in docker

1 messages · Page 1 of 1 (latest)

nocturne remnant
#

I am using lavalink v4.0.8 and YouTube-Source v1.11.3. If I run lavalink just on my host and play a song, it queries as expected and plays in discord, but if I run my docker stack and then trying playing a song, the song still queries as expected(I think) but cuts in and out when playing in discord, it will start with nothing playing, after a few seconds the song will play for a second or two and then back to silence and repeat. Im not sure on how to troubleshoot this and need some help...I included my application.yml and the lavalink logs after querying a song(this is while running in docker), if more info is needed just lmk.

#

this is from my docker-compose:

  lavalink:
    image: ghcr.io/lavalink-devs/lavalink:4
    container_name: lavalink
    restart: unless-stopped
    environment:
      _JAVA_OPTIONS: "-Xmx1G"
      LAVALINK_SERVER_PASSWORD: ${LAVALINK_TOKEN}
      TZ: "America/Los_Angeles"
    volumes:
      - ./application.yml:/opt/Lavalink/application.yml
      - ./plugins:/opt/Lavalink/plugins
      - ./logs/spring.log:/app/logs/spring.log
    user: "1000:1000"
    networks:
      - dollar
    ports:
      - "2333:2333"