mpenlirui / docker-puput

Docker image for Puput blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Minimal Usage

Consider to use docker-compose and our docker-compose.yml example

To test puput just clone the repository and:

$ docker-compose up -d
$ docker-compose ps
$ docker exec -ti dockerpuput_web_1 python manage.py migrate
$ docker exec -ti dockerpuput_web_1 python manage.py puput_initial_data

You can see the Puput blog at: http://localhost:8000/blog/

Docker Puput

  • All configuration via environment variables
  • Docker compose example to test Puput quickly

Ports

  • 8000: puput

Env vars and default value:

DEBUG=False
DATABASE_ENGINE=django.db.backends.mysql
DATABASE_HOST=mysql
DATABASE_NAME=puput
DATABASE_USER=upuput
DATABASE_PASSWORD=changeme
ALLOWED_HOSTS="*"
SECRET_KEY=alsochangeme_

About

Docker image for Puput blog

License:MIT License


Languages

Language:Python 66.3%Language:Shell 25.2%Language:Dockerfile 8.5%