Skip to content

Conversation

Akhil325
Copy link
Collaborator

No description provided.

@Akhil325 Akhil325 changed the title Add all changes Add mlflow services and config Mar 1, 2021
@@ -1,4 +1,7 @@
# MLflow Production Docker
Copy link
Owner

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
Copy link
Owner

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/
Copy link
Owner

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
Copy link
Owner

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

Comment on lines +39 to +47
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
Copy link
Owner

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'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
>&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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ENTRYPOINT [ "/entrypoint" ]
ENTRYPOINT [ "/entrypoint" ]
CMD ["/start"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants