feat:#10 added neo4j docker and setup readme for new component

This commit is contained in:
Elmar Kresse
2024-02-28 13:19:02 +01:00
parent 115ff9026c
commit 4b3137f694
2 changed files with 30 additions and 0 deletions

18
datamanager/README.md Normal file
View File

@ -0,0 +1,18 @@
# Data Manager
This component is responsible for fetching data from the HTWK website and storing it in the database.
It's also responsible for providing migration scripts for the database.
Main functionality is to fetch groups, plans and sport events. Saving user created ical Feeds
and providing them to the user is part of another component.
The technology stack is as follows:
- Neo4j
- Golang
- Docker
- Docker-Compose
## Setup
### Prerequisites
- Docker

View File

@ -1,6 +1,17 @@
version: "3.9"
services:
htwkalender-db:
image: neo4j:5.17
environment:
NEO4J_AUTH: neo4j/htwkalender-db
ports:
- "7687:7687"
- "7474:7474"
volumes:
- neo4j_data:/data
htwkalender-backend:
build:
dockerfile: Dockerfile
@ -37,3 +48,4 @@ services:
volumes:
pb_data:
neo4j_data: