mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Added script for starting with env variables.
This commit is contained in:
parent
5068ab12a9
commit
074f248bcd
2 changed files with 6 additions and 1 deletions
4
scripts/start-env.js
Normal file
4
scripts/start-env.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
require('dotenv').config();
|
||||
const cli = require('next/dist/cli/next-start');
|
||||
|
||||
cli.nextStart(['-p', process.env.PORT || 3000, '-H', process.env.HOSTNAME || '0.0.0.0']);
|
||||
Loading…
Add table
Add a link
Reference in a new issue