root: ..

stanzas:
  - type: webapp

    # Name of your executable. You are unlikely to need to change this.
    # Note that all file paths are relative to the keter.yml file.
    #
    # The path given is for Stack projects. If you're still using cabal, change
    # to
    # exec: ../dist/build/uniworx/uniworx
    exec: ../dist/bin/uniworx

    # Command line options passed to your application.
    args: []

    hosts:
      - testworx.tcs.ifi.lmu.de

    ssl: true

    forward-env:
      - LDAPHOST
      - LDAPTLS
      - LDAPPORT
      - LDAPUSER
      - LDAPPASS
      - LDAPBASE
      - LDAPSCOPE
      - LDAPSEARCHTIME
      - LDAPSTRIPES
      - LDAPTIMEOUT
      - LDAPLIMIT
      - DUMMY_LOGIN
      - DETAILED_LOGGING
      - LOG_ALL
      - LOGLEVEL
      - ALLOW_DEPRECATED
      - PWFILE
      - CRYPTOID_KEYFILE
      - IP_FROM_HEADER
      - MAILFROM_NAME
      - MAILFROM_EMAIL
      - MAILOBJECT_DOMAIN
      - SMTPHOST
      - SMTPPORT
      - SMTPSSL
      - SMTPUSER
      - SMTPPASS
      - SMTPTIMEOUT
      - SMTPLIMIT
      - MAILSUPPORT
      - MAILSUPPORT_NAME
      - INSTANCE_ID
      - MEMCACHEDHOST
      - MEMCACHEDPORT
      - MEMCACHEDLIMIT
      - MEMCACHEDTIMEOUT
      - MEMCACHEDROOT
      - MEMCACHEDEXPIRATION

# Use the following to automatically copy your bundle upon creation via `yesod
# keter`. Uses `scp` internally, so you can set it to a remote destination
# copy-to: user@host:/opt/keter/incoming/
copy-to: keter@testworx.tcs.ifi.lmu.de:/opt/keter/incoming/
copy-to-args:
  - "-P 30363"

# If you would like to have Keter automatically create a PostgreSQL database
# and set appropriate environment variables for it to be discovered, uncomment
# the following line.
plugins:
  postgres: true
