awesome-compose/react-express-mysql/backend/src/config.js

8 lines
294 B
JavaScript

// Constants
module.exports = {
port: process.env.PORT || 8080
// if you're not using docker-compose for local development, this will default to 8080
// to prevent non-root permission problems with 80. Dockerfile is set to make this 80
// because containers don't have that issue :)
};