Docker image for Bitpoll

Download settings_local.py and adjust the settings.

version: '2'
services:
    dudel:
        container_name: bitpoll
        image: rankenstein/bitpoll
        volumes:
            - ./settings_local.py:/bitpoll/bitpoll/settings_local.py
        ports:
            - 80:8888
        restart: unless-stopped

You might want to run a postgres database image and configure the connection in config.py.

On the first run, initialise the database by running (this will delete existing data!):

docker-compose run dudel ./manage.py migrate