Skip to content

Commit

Permalink
Trying to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NavidMitchell committed Jan 24, 2025
1 parent 1ba2580 commit 3595a9f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ testContainersVersion=1.20.4
vertxVersion=4.5.11
vertxCompletableFutureVersion=0.1.2
vertxBeansVersion=1.6.2

2 changes: 1 addition & 1 deletion structures-js/structures-api/compose.ek-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
- discovery.type=single-node
- xpack.security.enabled=false
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail elasticsearch:9200/_cluster/health || exit 1"]
test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
Expand Down
12 changes: 6 additions & 6 deletions structures-js/structures-api/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ services:
elasticsearch:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail structures-server-e2e:9090/health || exit 1"]
test: ["CMD-SHELL", "curl --silent --fail localhost:9090/health || exit 1"]
interval: 300s
timeout: 10s
retries: 3
start_period: 90s
ports:
- "0.0.0.0:9090:9090" # UI PORT
- "0.0.0.0:4000:4000" # GraphQL Port
- "0.0.0.0:8080:8080" # OpenAPI Port
- "0.0.0.0:58503:58503" # Continuum Stomp Port
- "0.0.0.0:58504:58504" # Continuum REST Port
- "9090:9090" # UI PORT
- "4000:4000" # GraphQL Port
- "8080:8080" # OpenAPI Port
- "58503:58503" # Continuum Stomp Port
- "58504:58504" # Continuum REST Port
environment:
SPRING_PROFILES_ACTIVE: production
STRUCTURES_INDEX_PREFIX: struct_
Expand Down
2 changes: 1 addition & 1 deletion structures-js/structures-api/test/TestHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {Person} from './domain/Person.js'
export async function initContinuumClient(): Promise<void> {
try {
await Continuum.connect({
host:'structures-server-e2e',
host:'localhost',
port:58503,
connectHeaders:{login: 'admin', passcode: 'structures'}
})
Expand Down

0 comments on commit 3595a9f

Please sign in to comment.