Created
October 14, 2021 16:33
-
-
Save DanielDaCosta/508ea0d68ce50c83443934895c0d0c64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -u ec2-user docker pull $ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/mlflow:latest | |
# Run Container (Expose port 5000; Restart -always- after reboot) | |
docker run --env BUCKET=s3://{YOUR_BUCKET_NAME}/ --env USERNAME=$DB_USER --env PASSWORD=$DB_PASS \ | |
--env HOST=$DB_HOST --env PORT=5432 --env DATABASE=mlflow \ | |
-p 5000:5000 -d --restart always --name mlflow-server $ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/mlflow:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment