Skip to content
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

Store the saved_notebook in .docker #75

Merged
merged 1 commit into from
Oct 28, 2022

Commits on Oct 28, 2022

  1. Store the saved_notebook in .docker

    Just like the other scheduled tasks
    
    Testing done:
    - Built the containers and ran the script
    
    ```
    root@e51aa2d75fb0:/usr/src/app# bash .docker/start_notebook.sh
    /usr/src/app/e-mission-server /usr/src/app
    DB host = db
    /usr/src/app
    {
        "timeseries": {
            "url": "db",
            "result_limit": 100000
        }
    }
    Web host = 0.0.0.0
    /usr/src/app/e-mission-server /usr/src/app
    /usr/src/app/e-mission-server
    base                     /root/miniconda-4.12.0
    emission              *  /root/miniconda-4.12.0/envs/emission
    
    /usr/src/app
    Running crontab without user interaction, setting python path
    ```
    
    All locations appear to be fixed
    
    ```
    viz_scripts//docker/Dockerfile.dev:ADD docker/start_notebook.sh /usr/src/app/.docker/start_notebook.sh
    viz_scripts//docker/Dockerfile.dev:RUN chmod u+x /usr/src/app/.docker/start_notebook.sh
    viz_scripts//docker/Dockerfile.dev:CMD ["/bin/bash", "/usr/src/app/.docker/start_notebook.sh"]
    viz_scripts//Dockerfile:ADD docker/start_notebook.sh /usr/src/app/.docker/start_notebook.sh
    viz_scripts//Dockerfile:RUN chmod u+x /usr/src/app/.docker/start_notebook.sh
    viz_scripts//Dockerfile:CMD ["/bin/bash", "/usr/src/app/.docker/start_notebook.sh"]
    ```
    shankari committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    bea7068 View commit details
    Browse the repository at this point in the history