Compare commits

...

2 commits

Author SHA1 Message Date
a5b680d948 Merge pull request 'Added backend for the analytics stuff..' (#162) from analytics/backend-deployment into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Reviewed-on: #162
2021-07-18 22:00:20 +00:00
50b8d4f82e Added backend for the analytics stuff..
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-07-18 23:59:04 +02:00
5 changed files with 39 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -42,5 +42,5 @@
"last 1 safari version"
]
},
"proxy": "http://localhost:5000"
"proxy": "http://localhost:5050"
}

View file

@ -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,
});

View file

@ -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