version: "3.8"
services:
  teamspeak:
    image: teamspeak
    restart: always
    ports:
      - 9987:9987/udp
      - 10011:10011
      - 30033:30033
    environment:
      TS3SERVER_DB_PLUGIN: ts3db_mariadb
      TS3SERVER_DB_SQLCREATEPATH: create_mariadb
      TS3SERVER_DB_HOST: db
      TS3SERVER_DB_USER: root
      TS3SERVER_DB_PASSWORD: EDFGD654hgrggh45ERG
      TS3SERVER_DB_NAME: teamspeak
      TS3SERVER_DB_WAITUNTILREADY: 30
      TS3SERVER_LICENSE: accept

  db:
    image: mariadb
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: EDFGD654hgrggh45ERG
      MYSQL_DATABASE: teamspeak

  ts3-manger:
    image: "joni1802/ts3-manager"
    ports:
      - 4990:8080
    environment:
      - WHITELIST=
      - JWT_SECRET=###
