mirror of
https://github.com/Steffo99/unimore-bda-1.git
synced 2024-11-24 23:34:19 +00:00
First commit!
This commit is contained in:
commit
9d5e8b4bd9
5 changed files with 40 additions and 0 deletions
0
.gitmodules
vendored
Normal file
0
.gitmodules
vendored
Normal file
3
README.md
Normal file
3
README.md
Normal 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
28
docker-compose.yml
Normal 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
4
seed/.gitignore
vendored
Normal 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
5
seed/README.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Data files
|
||||||
|
|
||||||
|
This directory should contain an externally provided copy of:
|
||||||
|
|
||||||
|
- `metaexport.json` (SHA256: `917fc2a44d03a68747fbe23389db9b178401d6cd1a869b63436bfa0eee526139`)
|
Loading…
Reference in a new issue