5767f55686
- Added new model and scaler files to .gitignore and output directory. - Updated Dockerfile to create output/models directory. - Revised README to include instructions for using a .env file for configuration. - Enhanced config.py to load database credentials from environment variables. - Implemented model saving functionality in salary_predictor.py for consistent and inconsistent earners.
21 lines
381 B
YAML
21 lines
381 B
YAML
services:
|
|
api:
|
|
build: .
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./output:/app/output
|
|
environment:
|
|
- DB_USER=salaryloan
|
|
- DB_PASSWORD=salaryloan
|
|
- DB_NAME=salaryloan
|
|
- DB_PORT=10532
|
|
- DB_HOST=dev-data.simbrellang.net
|
|
restart: unless-stopped
|
|
networks:
|
|
- salary_network
|
|
|
|
networks:
|
|
salary_network:
|
|
driver: bridge
|