Skip to content

Commit 48c8c42

Browse files
Minor fixes.
1 parent 96b9b7b commit 48c8c42

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

docker-compose.yml

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ services:
3535
- KC_METRICS_ENABLED=true
3636
depends_on:
3737
- keycloak_db
38+
healthcheck:
39+
test: ["CMD", "curl", "-f", "http://localhost:8082/realms/phyloviz-web-platform"]
3840

3941
mongodb:
4042
image: mongo:6.0.6
@@ -113,6 +115,7 @@ services:
113115
network_mode: host
114116
depends_on:
115117
- mongodb
118+
- keycloak
116119

117120
visualization:
118121
build:

src/backend/microservices/shared/src/main/java/org/phyloviz/pwp/shared/repository/data/S3FileRepositoryImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@Repository
2929
public class S3FileRepositoryImpl implements S3FileRepository {
3030

31-
public static final Region REGION = Region.of("custom");
31+
public static final Region REGION = Region.of("eu-west-3");
3232
private final String bucketName;
3333
private final String objectStorageEndpoint;
3434
private final S3AsyncClient s3Client;

src/backend/microservices/shared/src/main/resources/application-shared.yml

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ s3:
33
secret-access-key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
44
bucket: phyloviz-web-platform/
55
endpoint: http://localhost:9444
6+
bucket: phyloviz-web-platform
7+
region: eu-west-3
8+
endpoint: https://s3.eu-west-3.amazonaws.com
69

710
spring:
811
data:

start.sh

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
cd src/backend || exit
2+
3+
./gradlew build
4+
5+
cd ../frontend || exit
6+
7+
npm install
8+
9+
npm start &
10+
11+
docker compose up -d --build
12+
sleep 60
13+
echo "Doing very heavy work..."
14+
docker compose up -d

0 commit comments

Comments
 (0)