Giter Site home page Giter Site logo

sbjangg / autoape-mlps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seculayer/autoape-mlps

0.0 0.0 0.0 384 KB

AutoAPE(Advanced Perceptron Engine) - MLPS(Machine Learning Processing Server)

License: Apache License 2.0

Shell 3.04% Python 94.08% Dockerfile 2.88%

autoape-mlps's Introduction

AutoAPE-mlps

AutoAPE(Advanced Perceptron Engine) - MLPS(Machine Learning Processing Server)

Build

빌드 시 필요한 Git 설정

[http "https://*.seculayer.com:8443"]
    sslVerify = true
    sslCAInfo = /run/secrets/cert
    extraHeader = Authorization: Bearer <TOKEN>

위와 같은 내용을 파일(예: ../gitconfig, ./gitconfig)에 작성합니다. Container 빌드 시, 보안 파일로 넘길 것이기 때문에, ~/.gitconfig에 추가하지 않습니다.

<TOKEN>은 Seculayer Bitbucket에서 Token을 발급받아서, Authorization: Bearer 부분은 그대로 두고, <TOKEN> 부분만 변경하면 됩니다.

Docker build

${SECRET_GITCONFIG}에 위에서 설정한 파일 경로를, ${SSL_CERT} 부분에는 서비스모델팀 - 업무가이드를 참고하여, Git용 인증서를 다운로드받고, 다운로드받은 인증서 경로를 설정하면 됩니다. build-mlps.sh 파일에 관련 설정이 들어가야 합니다.

DOCKER_BUILDKIT=1 docker build --secret id=gitconfig,src="${SECRET_GITCONFIG}" --secret id=cert,src=${SSL_CERT} -t mlps .
# 예제
docker build --secret id=gitconfig,src="../gitconfig" --secret id=cert,src=$HOME/seculayer/cert/slroot.crt -t mlps .

Pycmmn, dataconverter, apeflow 업데이트 시 주의사항

위 3가지 패키지는 pypi를 통해서 받는 것이 아니라 git 소스를 통해서 받기 때문에, 버전 관리에 유의해야 합니다. 위

poetry.lock 파일 내용을 확인하여, git commit hash가 원하는 버전과 맞는지 확인해주세요.

버전이 맞지 않다면, poetry update {PACKAGE} 또는 poetry update 명령어로 poetry.lock 파일을 갱신해서 업데이트합니다.

autoape-mlps's People

Contributors

bmg8551 avatar yellowjin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.