You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
503B

  1. <?php
  2. declare(strict_types=1);
  3. return [
  4. 'host' => getenv('PRINTSTREAM_HOST') ?: '',
  5. 'port' => (int) (getenv('PRINTSTREAM_PORT') ?: 1433),
  6. 'database' => getenv('PRINTSTREAM_DATABASE') ?: '',
  7. 'user' => getenv('PRINTSTREAM_USER') ?: '',
  8. 'password' => getenv('PRINTSTREAM_PASSWORD') ?: '',
  9. // Interval used by the cron schedule comment — actual schedule is in docker/crontab
  10. 'import_every_minutes' => (int) (getenv('IMPORT_RUN_EVERY_MINUTES') ?: 30),
  11. ];

Powered by TurnKey Linux.