mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
ajustement
This commit is contained in:
parent
dd0f5f9534
commit
04ccca91d6
5 changed files with 10 additions and 9 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -130,7 +130,7 @@ dist
|
||||||
.pnp.*
|
.pnp.*
|
||||||
db-backup/
|
db-backup/
|
||||||
|
|
||||||
.env
|
**/.env
|
||||||
.venv
|
.venv
|
||||||
deployments
|
deployments
|
||||||
/test/stressTest/output
|
/test/stressTest/output
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
node_modules
|
node_modules
|
||||||
|
.env
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
# Target url
|
# Target url
|
||||||
BASE_URL=http://msevignyl.duckdns.org
|
BASE_URL=http://host.docker.internal
|
||||||
|
|
||||||
# Connection account
|
# Connection account
|
||||||
USER_EMAIL=admin@admin.com
|
USER_EMAIL=admin@admin.com
|
||||||
USER_PASSWORD=admin
|
USER_PASSWORD=admin
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,8 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: stress-test
|
container_name: stress-test
|
||||||
network_mode: host
|
|
||||||
#environment:
|
#environment:
|
||||||
# - BASE_URL=http://127.0.0.1
|
# - BASE_URL=http://host.docker.internal
|
||||||
# - USER_EMAIL=admin@admin.com
|
# - USER_EMAIL=admin@admin.com
|
||||||
# - USER_PASSWORD=admin
|
# - USER_PASSWORD=admin
|
||||||
# - NUMBER_ROOMS=5
|
# - NUMBER_ROOMS=5
|
||||||
|
|
@ -19,7 +18,9 @@ services:
|
||||||
# - MESSAGE_RESPONSE_TIMEOUT=5000
|
# - MESSAGE_RESPONSE_TIMEOUT=5000
|
||||||
# - BATCH_DELAY=1000
|
# - BATCH_DELAY=1000
|
||||||
# - BATCH_SIZE=10
|
# - BATCH_SIZE=10
|
||||||
#env_file:
|
env_file:
|
||||||
# - .env
|
- .env
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
- ./output:/app/output
|
- ./output:/app/output
|
||||||
|
|
@ -9,7 +9,7 @@ import generateMetricsReport from './utility/metrics_generator.js';
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
baseUrl: process.env.BASE_URL || 'http://127.0.0.1',
|
baseUrl: process.env.BASE_URL || 'http://host.docker.internal',
|
||||||
auth: {
|
auth: {
|
||||||
username: process.env.USER_EMAIL || 'admin@admin.com',
|
username: process.env.USER_EMAIL || 'admin@admin.com',
|
||||||
password: process.env.USER_PASSWORD || 'admin'
|
password: process.env.USER_PASSWORD || 'admin'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue