# SPDX-FileCopyrightText: 2022 Georg-August-Universität Göttingen
#
# SPDX-License-Identifier: CC0-1.0

---
version: '3.4'

services:
  repdav:
    image: repdav:latest
    build:
      context: .
    ports:
      - ${port:-8080}:${port:-8080}
    environment:
      host: ${host:-0.0.0.0}
      port: ${port:-8080}
      sentry_dsn: ${sentry_dsn}
      tg_auth_wsdl: "https://textgridlab.org/1.0/tgauth/wsdl/tgextra.wsdl"
      tg_auth_address: "https://textgridlab.org/1.0/tgauth/tgextra.php"
      tg_nav_address: "https://textgridlab.org/1.0/tgsearch/navigation/"
      tg_host: "https://textgridlab.org/"
    volumes:
      - $PWD/src:/app