Env samples
This commit is contained in:
4
.common.env.sample
Normal file
4
.common.env.sample
Normal file
@ -0,0 +1,4 @@
|
||||
DEBUG=true
|
||||
DB_HOST="db"
|
||||
ENV='dev'
|
||||
API_URL='http://localhost:8081'
|
4
.db.env.sample
Normal file
4
.db.env.sample
Normal file
@ -0,0 +1,4 @@
|
||||
MYSQL_ROOT_PASSWORD=
|
||||
MYSQL_USER=
|
||||
MYSQL_PASSWORD=
|
||||
MYSQL_DATABASE=
|
2
.env.sample
Normal file
2
.env.sample
Normal file
@ -0,0 +1,2 @@
|
||||
FRONTEND_PORT=#Port for frontend UI
|
||||
BACKEND_PORT=#Port for backend app
|
@ -24,7 +24,7 @@ services:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: PHP.Dockerfile
|
||||
env_file: common.env
|
||||
env_file: .common.env
|
||||
volumes:
|
||||
- .:/app
|
||||
depends_on:
|
||||
@ -36,7 +36,7 @@ services:
|
||||
context: ./backend
|
||||
dockerfile: PHP.Dockerfile
|
||||
env_file:
|
||||
- common.env
|
||||
- .common.env
|
||||
- .db.env
|
||||
volumes:
|
||||
- .:/app
|
||||
|
Reference in New Issue
Block a user