set hostname from enrionment variable

This commit is contained in:
Joe Auman 2021-11-09 21:17:46 -05:00
parent 8b994489b0
commit 8ad18afb53
3 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@ services:
build: .
restart: always
environment:
- HOSTNAME="dev-box.localdomain"
- HOSTNAME=dev-box.localdomain
volumes:
- ./:/home/node/app
ports:

View File

@ -8,6 +8,5 @@ echo "Building..."
npm install
echo "Starting server..."
#npx webpack-cli serve --mode=development --progress --public $HOSTNAME
npm start
npm run start -- --public $HOSTNAME

View File

@ -43,7 +43,6 @@ const appConfig = merge(baseConfig,
},
devServer: {
compress: true,
public: 'dev-box.localdomain',
static: {
watch: {
ignored: /(node_modules|test|\.git)/