Added backend for the analytics stuff.. #162
5 changed files with 39 additions and 5 deletions
|
@ -10,5 +10,16 @@ services:
|
|||
container_name: backend-prod
|
||||
environment:
|
||||
DEBUG: "no"
|
||||
PORT: 5000
|
||||
PORT: 5050
|
||||
HOST: "0.0.0.0"
|
||||
behametrics-server:
|
||||
image: registry.gitlab.com/behametrics/server:latest
|
||||
container_name: "behametrics-server"
|
||||
ports:
|
||||
- 5000:5000
|
||||
environment:
|
||||
- MONGO_URI=mongodb://mongodb:27017/behametrics
|
||||
mongodb:
|
||||
image: mongo:4.0.1
|
||||
container_name: "behametrics-mongo"
|
||||
command: mongod --smallfiles
|
||||
|
|
|
@ -22,8 +22,19 @@ services:
|
|||
volumes:
|
||||
- ./backend/src:/app/
|
||||
ports:
|
||||
- 5000:5000
|
||||
- 5050:5050
|
||||
environment:
|
||||
DEBUG: "yes"
|
||||
PORT: 5000
|
||||
PORT: 5050
|
||||
HOST: "0.0.0.0"
|
||||
behametrics-server:
|
||||
image: registry.gitlab.com/behametrics/server:latest
|
||||
container_name: "behametrics-server"
|
||||
ports:
|
||||
- 5000:5000
|
||||
environment:
|
||||
- MONGO_URI=mongodb://mongodb:27017/behametrics
|
||||
mongodb:
|
||||
image: mongo:4.0.1
|
||||
container_name: "behametrics-mongo"
|
||||
command: mongod --smallfiles
|
||||
|
|
|
@ -42,5 +42,5 @@
|
|||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"proxy": "http://localhost:5000"
|
||||
"proxy": "http://localhost:5050"
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ export default function BehaviorNormal() {
|
|||
let logger = new Logger({
|
||||
//inputs: ["cursor", "wheel", "keyboard", "touch"],
|
||||
inputs: ["keyboard"],
|
||||
apiUrl: "http://localhost:5000",
|
||||
logToConsole: true,
|
||||
});
|
||||
|
||||
|
|
|
@ -14,5 +14,16 @@ services:
|
|||
dockerfile: Dockerfile.prod
|
||||
environment:
|
||||
DEBUG: "no"
|
||||
PORT: 5000
|
||||
PORT: 5050
|
||||
HOST: "0.0.0.0"
|
||||
behametrics-server:
|
||||
image: registry.gitlab.com/behametrics/server:latest
|
||||
container_name: "behametrics-server"
|
||||
ports:
|
||||
- 5000:5000
|
||||
environment:
|
||||
- MONGO_URI=mongodb://mongodb:27017/behametrics
|
||||
mongodb:
|
||||
image: mongo:4.0.1
|
||||
container_name: "behametrics-mongo"
|
||||
command: mongod --smallfiles
|
||||
|
|
Loading…
Reference in a new issue