Skip to content

Commit 08841c5

Browse files
authored
Merge branch 'main' into feat/airflow
2 parents 1484daa + c8f743c commit 08841c5

11 files changed

Lines changed: 177 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ src/airflow/src/env_variables.json
1010
**/airflow/plugins/
1111
!.gitkeep
1212
**/airflow/logs/
13-
!.gitkeep
13+
!.gitkeep

src/graphdb/.env.dist

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Port to access GraphDB in your local environment
2+
GRAPHDB_PORT=7200
3+
4+
# Optional Java options for tuning (memory etc.)
5+
GRAPHDB_JAVA_OPTIONS=-Xms2g -Xmx4g
6+
7+
# Host directory for persistent GraphDB data (edit to your local path)
8+
GRAPHDB_DIR=/PATH_TO_GRAPHDB/graphdb-data
9+
GRAPHDB_USER_PROPERTIES=/PATH_TO_GRAPHDB/user.properties

src/graphdb/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Graph DB
2+
3+
4+
## How to configure your `.env` file?
5+
6+
Please create a graphDB folder where the data and config will be stored.
7+
8+
```
9+
10+
```
11+
12+
## How to configure your `user.properties`?
13+
14+
Please configure your password. You can encript it using bcrypt
15+
16+
```
17+
graphdb.auth.admin.username=admin
18+
graphdb.auth.admin.password={bcrypt}sodjfoijwef
19+
graphdb.workbench.auth.enabled=true
20+
```
21+
22+
23+
## How to deploy this service?
24+
25+
```
26+
docker compose config
27+
docker compose up -d
28+
```
29+
30+
31+
```
32+
docker compose down
33+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
graphdb.auth.admin.username=admin
2+
graphdb.auth.admin.password=
3+
graphdb.workbench.auth.enabled=true

src/graphdb/docker-compose.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
services:
2+
graphdb:
3+
image: khaller/graphdb-free:10.6.2
4+
container_name: graphdb
5+
ports:
6+
- "${GRAPHDB_PORT}:7200"
7+
environment:
8+
- JAVA_OPTIONS=${GRAPHDB_JAVA_OPTIONS}
9+
volumes:
10+
- ${GRAPHDB_DIR}/data:/opt/graphdb/data:rw
11+
- ${GRAPHDB_DIR}/logs:/opt/graphdb/logs:rw"
12+
- ${GRAPHDB_DIR}/work:/opt/graphdb/work:rw"
13+
- ${GRAPHDB_USER_PROPERTIES}:/opt/graphdb/etc/user.properties:ro

src/neo4j/.env.dist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# .env.dist
2+
NEO4J_HTTP_PORT=7474
3+
NEO4J_BOLT_PORT=7687
4+
5+
# initial DB user/password (format: user/Password)
6+
NEO4J_AUTH=USER/PASSWORD
7+
8+
# JSON-encoded list of plugins
9+
NEO4J_PLUGINS=["graph-data-science","apoc"]
10+
11+
# APOC security flags
12+
NEO4J_UNRESTRICTED=apoc.*
13+
NEO4J_ALLOWLIST=apoc.*
14+
15+
NEO4J_DIR=./neo4j
16+
17+
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes

src/neo4j/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Neo 4j
2+
3+
## How to configure your .env file?
4+
5+
Please create a folder where your data will be stored, and add it to `NEO4J_DIR`.
6+
7+
```
8+
NEO4J_HTTP_PORT=7474
9+
NEO4J_BOLT_PORT=7687
10+
11+
# initial DB user/password (format: user/Password)
12+
NEO4J_AUTH=USER/PASSWORD
13+
14+
# JSON-encoded list of plugins
15+
NEO4J_PLUGINS=["graph-data-science","apoc"]
16+
17+
# APOC security flags
18+
NEO4J_UNRESTRICTED=apoc.*
19+
NEO4J_ALLOWLIST=apoc.*
20+
21+
NEO4J_DIR=./neo4j
22+
23+
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
24+
```
25+
26+
27+
## How to deploy this service?
28+
29+
```
30+
docker compose config
31+
docker compose up -d
32+
```
33+
34+
```
35+
docker compose down
36+
```
37+

src/neo4j/docker-compose.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
services:
2+
neo4j:
3+
image: neo4j:2025.05.1
4+
container_name: neo4j-open-pulse
5+
restart: unless-stopped
6+
7+
ports:
8+
- "${NEO4J_HTTP_PORT}:7474"
9+
- "${NEO4J_BOLT_PORT}:7687"
10+
11+
environment:
12+
NEO4J_AUTH: ${NEO4J_AUTH}
13+
14+
NEO4J_PLUGINS: ${NEO4J_PLUGINS}
15+
16+
# enable APOC unrestricted procedures
17+
NEO4J_dbms_security_procedures_unrestricted: ${NEO4J_UNRESTRICTED}
18+
NEO4J_dbms_security_procedures_allowlist: ${NEO4J_ALLOWLIST}
19+
20+
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
21+
22+
volumes:
23+
- ${NEO4J_DIR}/logs:/logs
24+
- ${NEO4J_DIR}/config:/config
25+
- ${NEO4J_DIR}/data:/data
26+
- ${NEO4J_DIR}/plugins:/plugins

src/portainer/.env.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PORTAINER_HASHED_PASSWORD=

src/portainer/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Portainer
2+
3+
## How to configure your `.env` file.
4+
5+
Configure the admin password with an bcrypt version of your password. Please pay attention and double `$` when adding the encrypted password. Otherwise, linux will not parse it correctly.
6+
7+
In linux:
8+
```
9+
sudo apt-get install apache2-utils
10+
htpasswd -nbBC 10 admin yourpassword
11+
```
12+
13+
## How to run this docker compose?
14+
15+
```
16+
docker compose up -d
17+
```
18+
19+
And then you can turn it down with
20+
21+
```
22+
docker compose down
23+
```

0 commit comments

Comments
 (0)