An AI project that includes a scraper for NFL data, postgres database, and user interface. It uses a classification algorithm to predict winners.
added the volume for postgres
2 files changed, +4 -1
+1-0.gitignore
| @@ -2,6 +2,7 @@ | ||
| 2 | 2 | har_files |
| 3 | 3 | auth.json |
| 4 | 4 | *.log |
| 5 | +/.postgres | |
| 5 | 6 | |
| 6 | 7 | # Byte-compiled / optimized / DLL files |
| 7 | 8 | __pycache__/ |
+3-1docker-compose.yml
| @@ -4,4 +4,6 @@ services: | ||
| 4 | 4 | ports: |
| 5 | 5 | - ${POSTGRES_PORT}:5432 |
| 6 | 6 | env_file: |
| 7 | - - .env | |
| 7 | + - .env | |
| 8 | + volumes: | |
| 9 | + - ./.postgres:/var/lib/postgresql/data |