-
Notifications
You must be signed in to change notification settings - Fork 2
Add mlflow services and config #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@@ -1,4 +1,7 @@ | |||
# MLflow Production Docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git issues
POSTGRES_DB= | ||
# Mlflow settings | ||
MLFLOW_ARTIFACT_URI=s3://bucket-name/ | ||
# If using bentoml for deployment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
POSTGRES_PORT= | ||
POSTGRES_DB= | ||
# Mlflow settings | ||
MLFLOW_ARTIFACT_URI=s3://bucket-name/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not in the env sample
build: | ||
context: . | ||
dockerfile: ./dockerfiles/traefik/Dockerfile | ||
image: mlflow_production_traefik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
image names clash with prod file, will cause overwrite
postgres: | ||
image: postgres:11.8 | ||
restart: always | ||
env_file: | ||
- .env | ||
ports: | ||
- "5432:5432" | ||
volumes: | ||
- local_postgres_data:/var/lib/postgresql/data No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the only change over the other file, just drop in a new docker-compose-local.yml file and can run docker-compose up with both rather than copy paste
>&2 echo 'Sleeping till postgres is ready...' | ||
sleep 1 | ||
done | ||
>&2 echo 'PostgreSQL is available' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
>&2 echo 'PostgreSQL is available' | |
echo 'PostgreSQL is available' |
this isnt an error, should go to stdout
COPY ./start /start | ||
RUN sed -i 's/\r$//g' /start && chmod +x /start | ||
|
||
ENTRYPOINT [ "/entrypoint" ] No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENTRYPOINT [ "/entrypoint" ] | |
ENTRYPOINT [ "/entrypoint" ] | |
CMD ["/start"] |
No description provided.