Use a .env file for local development/docker-compose etc .env export APP_API_HOST=http://localhost export APP_API_PORT=8080 Change the above values during deployment depending on your environment. $ source .env quasar.conf.js build: { env: { APP_API_HOST: JSON.stringify(process.env.APP_API_HOST), APP_API_PORT: JSON.stringify(process.env.APP_API_PORT) }, If you are deploying using GitlabCI/Docker/K8s or whatever environment injection is probably what you are after anyway.