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

Docker support [WIP] #32

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open

Docker support [WIP] #32

wants to merge 54 commits into from

Commits on Nov 19, 2014

  1. Configuration menu
    Copy the full SHA
    f3f4c52 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2017

  1. Configuration menu
    Copy the full SHA
    f180435 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a719f0 View commit details
    Browse the repository at this point in the history
  3. Simplify settings

    stefankoegl committed Jul 2, 2017
    Configuration menu
    Copy the full SHA
    9ce0fa2 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2017

  1. Configuration menu
    Copy the full SHA
    c3268bc View commit details
    Browse the repository at this point in the history
  2. Start Docker support [WIP]

    stefankoegl authored and JeanFred committed Jul 23, 2017
    Configuration menu
    Copy the full SHA
    247b23e View commit details
    Browse the repository at this point in the history
  3. Docker-compose setup

    JeanFred committed Jul 23, 2017
    Configuration menu
    Copy the full SHA
    89d689f View commit details
    Browse the repository at this point in the history
  4. Serve static assets using Whitenoise

    This is useful for development, when there is no
    nginx server to serve assets.
    JeanFred committed Jul 23, 2017
    Configuration menu
    Copy the full SHA
    cdcb34f View commit details
    Browse the repository at this point in the history
  5. Avoid crash during initial migration

    As suggested by @elelay on
    #32 (comment)
    JeanFred committed Jul 23, 2017
    Configuration menu
    Copy the full SHA
    44e40e4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f74bbd View commit details
    Browse the repository at this point in the history
  7. Comment out django-nose from INSTALLED_APPS

    This keeps crashing with
    ` ModuleNotFoundError: No module named 'django_nose'`
    even though the package is installed. Let's ignore for now.
    JeanFred committed Jul 23, 2017
    Configuration menu
    Copy the full SHA
    d3580b3 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2017

  1. Configuration menu
    Copy the full SHA
    20ff6fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7aadf5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c03404 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba29198 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2017

  1. Revert some changes from 89d689f

    The now-reverted changed made the use of the scripts less generic for other
    uses.
    stefankoegl committed Jul 25, 2017
    Configuration menu
    Copy the full SHA
    95bf714 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea99b1f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    558179b View commit details
    Browse the repository at this point in the history
  4. Run gunicorn webserver

    `manage.py runserver` is not intended for serving production traffic
    
    https://docs.djangoproject.com/en/1.8/ref/django-admin/#runserver-port-or-address-port
    stefankoegl committed Jul 25, 2017
    Configuration menu
    Copy the full SHA
    bcf227e View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2017

  1. Configuration menu
    Copy the full SHA
    91f3312 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4cd336 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2017

  1. Configuration menu
    Copy the full SHA
    1ea4a8a View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2017

  1. Configuration menu
    Copy the full SHA
    f316715 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2017

  1. Configuration menu
    Copy the full SHA
    0aed0da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1491582 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2017

  1. Configuration menu
    Copy the full SHA
    a5f9fa1 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2017

  1. Configuration menu
    Copy the full SHA
    0763228 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6c9430 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2017

  1. Configuration menu
    Copy the full SHA
    e0558bc View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. Configuration menu
    Copy the full SHA
    193d19c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a46e2d View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. wait-for-postgres.sh wrapper

    used in containers depending on postresql readiness.
    No need for full psql command: the simple psql.py script is enough.
    elelay committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    57a4d07 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2018

  1. docker-compose: wait for postgres + init; don't run base

     - enhanced wait-for-postgres.py:
        1. waits for DB
        2. if not running migrate, exit with error message
           if tables are missing
     - move base to a different file otherwise it's also started
       and two web services are running.
    elelay committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    aef345a View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2018

  1. Configuration menu
    Copy the full SHA
    4cc2ee0 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2018

  1. Configuration menu
    Copy the full SHA
    437eb37 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2018

  1. Configuration menu
    Copy the full SHA
    2ecfc89 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2018

  1. Merge pull request #84 from elelay/docker-wait-for-postgres

    wait for postgres + check db initialized
    stefankoegl authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    e40bf7d View commit details
    Browse the repository at this point in the history

Commits on May 6, 2018

  1. Configuration menu
    Copy the full SHA
    f305196 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2018

  1. Configuration menu
    Copy the full SHA
    86836ed View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. Specify Python 3.6 in Dockerfile

    Python 3.7 is not yet supported
    stefankoegl committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    7611dbc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85343ec View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2018

  1. Configuration menu
    Copy the full SHA
    2567edc View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2019

  1. Configuration menu
    Copy the full SHA
    15c1204 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. Fix code formatting

    stefankoegl committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    a15262e View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

  1. Configuration menu
    Copy the full SHA
    44b0499 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. Configuration menu
    Copy the full SHA
    560f3eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31365aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    406f1d5 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. Allow to run Makefile command without sudo

    There is no sudo available in the Docker environment.
    
    Let's just move the `apt-get` call command to a variable,
    and override it in Makefile call in the Dockerfile.
    JeanFred committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    8484c3e View commit details
    Browse the repository at this point in the history
  2. Set POSTGRES_HOST_AUTH_METHOD in Postgres Docker

    There was a breaking change recently in Postgres Docker image:
    ```
    Error: Database is uninitialized and superuser password is not specified.
           You must specify POSTGRES_PASSWORD for the superuser. Use
           "-e POSTGRES_PASSWORD=password" to set it in "docker run".
    
           You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
           without a password. This is *not* recommended. See PostgreSQL
           documentation about "trust":
           https://www.postgresql.org/docs/current/auth-trust.html
    ```
    
    This may not be the best setting, but let's go for this.
    
    See docker-library/postgres#681
    JeanFred committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    4efb585 View commit details
    Browse the repository at this point in the history
  3. Add gettext to makefile dependencies

    Without it, the step `compilemessages` fails.
    JeanFred committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    93131ae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f4ac38 View commit details
    Browse the repository at this point in the history
  5. Set STATIC_ROOT for serving static assets using Whitenoise

    This is one of the few requirements for whitenoise to just work.
    
    See http://whitenoise.evans.io/en/stable/django.html
    
    (This had been done in cdcb34f, but probably lost in a master merge)
    JeanFred committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    a7045b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2020

  1. Merge pull request #397 from JeanFred/docker

    Some fixes for the Docker setup
    Josh Clements authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    06a1b80 View commit details
    Browse the repository at this point in the history