Skip to content

Commit

Permalink
Merge branch 'main' into ev/small-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
efstajas authored Apr 24, 2024
2 parents a3f0f2e + 3de7149 commit 574803f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/app-e2e-test-env
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ VITE_TEST_MODE=true
CACHE_REDIS_CONNECTION_STRING=redis://redis:6379
INFURA_KEY=1234
PUBLIC_BASE_URL=http://localhost:3001
MULTIPLAYER_API_URL=http://multiplayer:5001
MULTIPLAYER_API_URL=http://multiplayer:5002
MULTIPLAYER_API_ACCESS_TOKEN=1234
2 changes: 1 addition & 1 deletion docker/env.docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ services:
volumes:
- ./services/multiplayer/db:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: user
POSTGRES_USER: postgres
POSTGRES_PASSWORD: admin
POSTGRES_DB: dripsdb
POSTGRES_INITDB_ARGS: -E UTF8 --locale=C
Expand Down
2 changes: 1 addition & 1 deletion docker/services/multiplayer/envfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PORT=5002
NETWORK=sepolia
DB_HOST=postgres-multiplayer
DB_PORT=5432
DB_USER=user
DB_USER=postgres
DB_PASSWORD=admin
DB_NAME=dripsdb
LOG_LEVEL=debug
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"private": true,
"scripts": {
"dev": "vite dev",
"dev:local-env": "GQL_URL=http://localhost:8080 PUBLIC_PINATA_GATEWAY_URL=http://localhost:3000 GQL_ACCESS_TOKEN=afdb8b7e-8fa7-4de9-bd95-b650b839e745 PUBLIC_TEST_MODE=true VITE_TEST_MODE=true vite dev",
"dev:local-env": "GQL_URL=http://localhost:8080 MULTIPLAYER_API_URL=http://localhost:5002 MULTIPLAYER_API_ACCESS_TOKEN=1234 PUBLIC_PINATA_GATEWAY_URL=http://localhost:3000 GQL_ACCESS_TOKEN=afdb8b7e-8fa7-4de9-bd95-b650b839e745 PUBLIC_TEST_MODE=true VITE_TEST_MODE=true vite dev",
"local-env:start": "docker compose -f ./docker/env.docker-compose.yml -f ./docker/env-ports-exposed.docker-compose.yml up --build --always-recreate-deps --force-recreate -V",
"local-env:stop": "docker compose -f ./docker/env.docker-compose.yml -f ./docker/env-ports-exposed.docker-compose.yml down",
"build": "vite build",
"build:e2e": "MULTIPLAYER_API_URL=http://multiplayer:5001 MULTIPLAYER_API_ACCESS_TOKEN=1234 GQL_URL=http://localhost:8080 PUBLIC_PINATA_GATEWAY_URL=http://localhost:3000 GQL_ACCESS_TOKEN=afdb8b7e-8fa7-4de9-bd95-b650b839e745 VITE_TEST_MODE=true npm run build",
"build:e2e": "MULTIPLAYER_API_URL=http://localhost:5002 MULTIPLAYER_API_ACCESS_TOKEN=1234 GQL_URL=http://localhost:8080 PUBLIC_PINATA_GATEWAY_URL=http://localhost:3000 GQL_ACCESS_TOKEN=afdb8b7e-8fa7-4de9-bd95-b650b839e745 VITE_TEST_MODE=true npm run build",
"preview": "vite preview",
"test:e2e": "MULTIPLAYER_API_URL=http://multiplayer:5001 MULTIPLAYER_API_ACCESS_TOKEN=1234 PUBLIC_TEST_MODE=true vitest run e2e",
"test:e2e": "MULTIPLAYER_API_URL=http://localhost:5002 MULTIPLAYER_API_ACCESS_TOKEN=1234 PUBLIC_TEST_MODE=true vitest run e2e",
"test:unit": "vitest run unit",
"e2e": "docker compose -f ./docker/env.docker-compose.yml -f ./docker/app-e2e-test.docker-compose.yml up --build --attach app --exit-code-from app --abort-on-container-exit --always-recreate-deps --force-recreate -V",
"coverage": "vitest run --coverage",
Expand Down

0 comments on commit 574803f

Please sign in to comment.