1
0
Fork 0
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:
Jérémie Drouet 2020-03-23 14:18:50 +01:00
parent 2ef179e53b
commit 75aa52524c
7 changed files with 130 additions and 126 deletions

View 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 :)
};