version: '3.7'

services:
  app_proxy:
    environment:
      APP_HOST: restreamer_web_1
      APP_PORT: 8080

  web:
    image: datarhei/restreamer:2.12.0@sha256:813acc9d41d2953b1e7fbb5b281f9a1f68d07fef4e1b30e34472b12d3db9426a
    environment:
      - PUID=1000
      - PGID=1000
    restart: on-failure
    volumes:
      - ${APP_DATA_DIR}/config:/core/config
      - ${APP_DATA_DIR}/data:/core/data
    ports:
      - 8181:8181
      - 1935:1935
      - 1936:1936
      - 6000:6000/udp
