Skip to content

Commit 49130d0

Browse files
authored
Merge pull request #11 from secure-software-engineering/develop
Develop
2 parents 53376fe + 28cadd2 commit 49130d0

5 files changed

+24
-13
lines changed

default_env.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export NEO4J_PORT=7687
2+
export NEO4J_URL=bolt://localhost:${NEO4J_PORT}
3+
export NEO4J_USER=neo4j
4+
export NEO4J_PASS=DUMMYPASSWORD
5+
export MONGO_HOST=localhost
6+
export MONGO_USER=user
7+
export MONGO_PW=DUMMYPASSWORD
8+
export MONGO_PORT=27017
9+
export MIN_PATH_LENGTH=5
10+
export NEO4J_TRANSACTION_TIMEOUT=300

docker-compose-dbs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ services:
66
image: neo4j:4.4.3
77
ports: # expose the ports to the local machine
88
- "7474:7474"
9-
- "7687:7687"
9+
- "${NEO4J_PORT}:7687"
1010
environment:
11-
- NEO4J_AUTH=neo4j/DUMMYPASSWORD
11+
- NEO4J_AUTH=${NEO4J_USER}/${NEO4J_PASS}
1212
- NEO4J_apoc_export_file_enabled=true
1313
- NEO4J_apoc_import_file_enabled=true
1414
- NEO4J_apoc_import_file_use__neo4j__config=true
@@ -25,7 +25,7 @@ services:
2525
mongo:
2626
image: mongo:4.2
2727
ports: #expose ports to the outside
28-
- "27017:27017"
28+
- "${MONGO_PORT}:27017"
2929
volumes:
3030
- ./2022_07_14_mongodb/:/data/db
3131
environment:

docker-compose-upcy-dockerized.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
#creates the work messages
1919
producer:
2020
restart: always
21-
image: ghcr.io/anddann/upcy:1.6.1-SNAPSHOT
21+
image: ghcr.io/anddann/upcy:1.6.2-SNAPSHOT
2222
depends_on:
2323
- rabbitmq
2424
deploy:
@@ -40,7 +40,7 @@ services:
4040

4141
worker:
4242
restart: always
43-
image: ghcr.io/anddann/upcy:1.6.1-SNAPSHOT
43+
image: ghcr.io/anddann/upcy:1.6.2-SNAPSHOT
4444
deploy:
4545
replicas: 2
4646
mode: replicated

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>de.upb</groupId>
88
<artifactId>upcy</artifactId>
9-
<version>1.6.1-SNAPSHOT</version>
9+
<version>1.6.2-SNAPSHOT</version>
1010

1111
<properties>
1212
<docker.image.prefix>ghcr.io/anddann/</docker.image.prefix>
@@ -270,12 +270,12 @@
270270
<dependency>
271271
<groupId>de.upb.upcy.base</groupId>
272272
<artifactId>sigtest-generator</artifactId>
273-
<version>0.5-SNAPSHOT</version>
273+
<version>0.5.1-SNAPSHOT</version>
274274
</dependency>
275275
<dependency>
276276
<groupId>de.upb.upcy.base</groupId>
277277
<artifactId>commons</artifactId>
278-
<version>0.5-SNAPSHOT</version>
278+
<version>0.5.1-SNAPSHOT</version>
279279
</dependency>
280280

281281
<dependency>

upcy.sample.env

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
RABBITMQ_HOST=rabbitmq
2-
NEO4J_URL=bolt://host.docker.internal:7687
3-
NEO4J_USER=neo4j
4-
NEO4J_PASS=DUMMYPASSWORD
2+
NEO4J_URL=bolt://host.docker.internal:${NEO4J_PORT}
3+
NEO4J_USER=${NEO4J_USER}
4+
NEO4J_PASS=${NEO4J_PASS}
55
RABBITMQ_USER=myuser
66
RABBITMQ_PASS=mypassword
77
# to use local folder start with file:/.....
88
FILESERVER_HOST=file:/mnt/results
99
FILESERVER_USER=myuser
1010
FILESERVER_PASS=DUMMYPASSWORD
1111
MONGO_HOST=host.docker.internal
12-
MONGO_USER=user
13-
MONGO_PW=DUMMYPASSWORD
12+
MONGO_PORT=${MONGO_PORT}
13+
MONGO_USER=${MONGO_USER}
14+
MONGO_PW=${MONGO_PW}
1415
TIMEOUT=21600
1516
NEO4J_TRANSACTION_TIMEOUT=600
1617
MIN_PATH_LENGTH=5

0 commit comments

Comments
 (0)