1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-1.git synced 2024-11-21 14:04:18 +00:00

First commit!

This commit is contained in:
Steffo 2022-11-05 22:42:38 +01:00
commit 9d5e8b4bd9
Signed by: steffo
GPG key ID: 6965406171929D01
5 changed files with 40 additions and 0 deletions

0
.gitmodules vendored Normal file
View file

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# Ricerca in linguaggio naturale sul dataset Amazon
Attività per **Big Data Analytics** al corso magistrale di Informatica a Unimore dell'anno accademico 2022/2023

28
docker-compose.yml Normal file
View file

@ -0,0 +1,28 @@
version: "3.9"
services:
mongo:
image: "mongo:6.0.2-focal"
environment:
MONGO_INITDB_ROOT_USERNAME: "unimore"
MONGO_INITDB_ROOT_PASSWORD: "unimore"
MONGO_INITDB_DATABASE: "amazon"
mongoimport:
image: "mongo:6.0.2-focal"
volumes:
- "./seed:/seed"
entrypoint: >-
mongoimport
--host mongo
--db amazon
--authenticationDatabase admin
--username unimore
--password unimore
--collection meta
--type json
--file /seed/metaexport.json
depends_on:
mongo:
condition: service_started

4
seed/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
# Data files should be provided externally
# I don't think I'm allowed to redistribute them
*.json

5
seed/README.md Normal file
View file

@ -0,0 +1,5 @@
# Data files
This directory should contain an externally provided copy of:
- `metaexport.json` (SHA256: `917fc2a44d03a68747fbe23389db9b178401d6cd1a869b63436bfa0eee526139`)