mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
react-express-mysql: split backend code
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
parent
2ef179e53b
commit
75aa52524c
7 changed files with 130 additions and 126 deletions
7
react-express-mysql/backend/src/config.js
vendored
Normal file
7
react-express-mysql/backend/src/config.js
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
// 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 :)
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue