adds .env file

This commit is contained in:
Tomasz Dłuski
2020-08-24 00:36:00 +02:00
parent a0d718c64e
commit 73420efc2c
2 changed files with 25 additions and 2 deletions

View File

@@ -68,12 +68,25 @@ export MLFLOW_S3_ENDPOINT_URL=http://localhost:9000
export MLFLOW_TRACKING_URI=http://localhost:5000
```
You can load them from the .env file like so
You can load them from the .env file. Create a `.env` file inside this repo folder and paste:
```
AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
AWS_REGION=us-east-1
AWS_BUCKET_NAME=mlflow
MYSQL_DATABASE=mlflow
MYSQL_USER=mlflow_user
MYSQL_PASSWORD=mlflow_password
MYSQL_ROOT_PASSWORD=toor
MLFLOW_S3_ENDPOINT_URL=http://localhost:9000
MLFLOW_TRACKING_URI=http://localhost:5000
```
Then run
```shell
source .env
```
or add them to the .bashrc file and then run
or add them as `export X=Y` to the .bashrc file and then run
```shell
source ~/.bashrc