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.*
|
||||
db-backup/
|
||||
|
||||
.env
|
||||
**/.env
|
||||
.venv
|
||||
deployments
|
||||
/test/stressTest/output
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
node_modules
|
||||
.env
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
# Target url
|
||||
BASE_URL=http://msevignyl.duckdns.org
|
||||
|
||||
BASE_URL=http://host.docker.internal
|
||||
# Connection account
|
||||
USER_EMAIL=admin@admin.com
|
||||
USER_PASSWORD=admin
|
||||
|
|
|
|||
|
|
@ -7,9 +7,8 @@ services:
|
|||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: stress-test
|
||||
network_mode: host
|
||||
#environment:
|
||||
# - BASE_URL=http://127.0.0.1
|
||||
# - BASE_URL=http://host.docker.internal
|
||||
# - USER_EMAIL=admin@admin.com
|
||||
# - USER_PASSWORD=admin
|
||||
# - NUMBER_ROOMS=5
|
||||
|
|
@ -19,7 +18,9 @@ services:
|
|||
# - MESSAGE_RESPONSE_TIMEOUT=5000
|
||||
# - BATCH_DELAY=1000
|
||||
# - BATCH_SIZE=10
|
||||
#env_file:
|
||||
# - .env
|
||||
env_file:
|
||||
- .env
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ./output:/app/output
|
||||
|
|
@ -9,7 +9,7 @@ import generateMetricsReport from './utility/metrics_generator.js';
|
|||
dotenv.config();
|
||||
|
||||
const config = {
|
||||
baseUrl: process.env.BASE_URL || 'http://127.0.0.1',
|
||||
baseUrl: process.env.BASE_URL || 'http://host.docker.internal',
|
||||
auth: {
|
||||
username: process.env.USER_EMAIL || 'admin@admin.com',
|
||||
password: process.env.USER_PASSWORD || 'admin'
|
||||
|
|
|
|||
Loading…
Reference in a new issue