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

First version of Dockerfile & docker-compose #416

Merged
merged 32 commits into from Apr 25, 2022

Commits on Apr 10, 2022

  1. First version of Dockerfile & docker-compose, including a health chec…

    …k in the FM API
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 10, 2022
    Copy the full SHA
    a973344 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. fix inability to call flexmeasures command in container (had to use f…

    …lask), by not installing in editable mode
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 11, 2022
    Copy the full SHA
    9ed8213 View commit details
    Browse the repository at this point in the history
  2. load the instance directory as volume, which allows to pass a configu…

    …ration file; use flexmeasures run as default command for now
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 11, 2022
    Copy the full SHA
    0f3dc8d View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. document better & correctly how to mount config file into a FlexMeasu…

    …res container, clean up docs
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 12, 2022
    Copy the full SHA
    e303b88 View commit details
    Browse the repository at this point in the history
  2. copy less unneeded files into FlexMeasures image

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 12, 2022
    Copy the full SHA
    b45e805 View commit details
    Browse the repository at this point in the history
  3. run the FlexMeasures image via Gunicorn

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 12, 2022
    Copy the full SHA
    d452d9f View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. install gunicorn early on

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 13, 2022
    Copy the full SHA
    382455f View commit details
    Browse the repository at this point in the history
  2. add changelog entries

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 13, 2022
    Copy the full SHA
    23f4a0e View commit details
    Browse the repository at this point in the history
  3. mention the Docker image on index and in toy tutorial section

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 13, 2022
    Copy the full SHA
    1689350 View commit details
    Browse the repository at this point in the history
  4. move the note about using Docker for the tutorial a little lower

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 13, 2022
    Copy the full SHA
    9ca44ef View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. install solver as well

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 14, 2022
    Copy the full SHA
    fa71d31 View commit details
    Browse the repository at this point in the history
  2. document how at this point one can run tests inside a FlexMeasures co…

    …ntainer
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 14, 2022
    Copy the full SHA
    6e6c1e2 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into 149-dockerfile-for-developmentdemo

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 14, 2022
    Copy the full SHA
    63bf9ad View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. load sql extensions into postgres service

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 15, 2022
    Copy the full SHA
    cdb42e6 View commit details
    Browse the repository at this point in the history
  2. add another note to the preliminary testing setup

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 15, 2022
    Copy the full SHA
    1fd6b68 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into 149-dockerfile-for-developmentdemo

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 15, 2022
    Copy the full SHA
    dd03e7b View commit details
    Browse the repository at this point in the history
  4. Run tests easily in Docker: add test-db service in compose stack, and…

    … a way to tell FlexMeasures to use a different database URI than the standard one when testing
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 15, 2022
    Copy the full SHA
    101224a View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2022

  1. improve documentation, from review comments

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 16, 2022
    Copy the full SHA
    9adc8b7 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2022

  1. fix typo

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 17, 2022
    Copy the full SHA
    73c4722 View commit details
    Browse the repository at this point in the history
  2. lazy loading in SensorIdField (fixes flexmeasures add schedule)

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 17, 2022
    Copy the full SHA
    79a99c0 View commit details
    Browse the repository at this point in the history
  3. docs: add FLASK_ENV=development to docker run call

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 17, 2022
    Copy the full SHA
    8bdf811 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. split docker and docker-compose docs (first is relevant for installin…

    …g/deploying), the latter more for development. Also fix small errors and give better info on WSGI scripts.
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 18, 2022
    Copy the full SHA
    5c65024 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. fix regression in not attaching account to assets correctly in toy tu…

    …torial
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 19, 2022
    Copy the full SHA
    70a712d View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. separate installation instructions for toy tutorial into Docker and n…

    …on-Docker
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 20, 2022
    Copy the full SHA
    822d374 View commit details
    Browse the repository at this point in the history
  2. some text improvements

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 20, 2022
    Copy the full SHA
    adbfe25 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. correct the link in coverage badge, to report on main branch

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 21, 2022
    Copy the full SHA
    b695c0d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. switch to lfenergy/flexmeasures

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 22, 2022
    Copy the full SHA
    a2237df View commit details
    Browse the repository at this point in the history
  2. small comments from review

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 22, 2022
    Copy the full SHA
    89a9833 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. demanding the lowest docker compose version we know we need (we use s…

    …tart_period for healthchecks)
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 23, 2022
    Copy the full SHA
    48e7c07 View commit details
    Browse the repository at this point in the history
  2. more attention-grabbing note about the tutorial happening inside the …

    …docker container
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 23, 2022
    Copy the full SHA
    555dfd5 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. not only the API runs in the container

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 25, 2022
    Copy the full SHA
    45b88cf View commit details
    Browse the repository at this point in the history
  2. better name for the Docker container in the compose tutorial & smalle…

    …r doc fixes
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Apr 25, 2022
    Copy the full SHA
    ad15a9d View commit details
    Browse the repository at this point in the history