├── .gitignore ├── README.md ├── conf └── nginx.conf ├── docker-compose.yml ├── prediction-app ├── .dockerignore ├── .gitignore ├── Dockerfile ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── manifest.json │ └── robots.txt └── src │ ├── App.css │ ├── App.js │ ├── components │ └── PredictionButton.js │ ├── index.css │ ├── index.js │ └── logo.svg └── prediction ├── .dockerignore ├── .env.template ├── Dockerfile ├── api ├── __init__.py ├── admin.py ├── apps.py ├── management │ ├── __init__.py │ └── commands │ │ ├── __init__.py │ │ └── initialize_db.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── tasks.py ├── tests.py ├── urls.py ├── utils.py └── views.py ├── manage.py ├── prediction ├── __init__.py ├── asgi.py ├── celery.py ├── settings.py ├── urls.py └── wsgi.py ├── predictions.txt ├── pytest.ini └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/README.md -------------------------------------------------------------------------------- /conf/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/conf/nginx.conf -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /prediction-app/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /prediction-app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/.gitignore -------------------------------------------------------------------------------- /prediction-app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/Dockerfile -------------------------------------------------------------------------------- /prediction-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/README.md -------------------------------------------------------------------------------- /prediction-app/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/package-lock.json -------------------------------------------------------------------------------- /prediction-app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/package.json -------------------------------------------------------------------------------- /prediction-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/public/favicon.ico -------------------------------------------------------------------------------- /prediction-app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/public/index.html -------------------------------------------------------------------------------- /prediction-app/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/public/manifest.json -------------------------------------------------------------------------------- /prediction-app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/public/robots.txt -------------------------------------------------------------------------------- /prediction-app/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/src/App.css -------------------------------------------------------------------------------- /prediction-app/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/src/App.js -------------------------------------------------------------------------------- /prediction-app/src/components/PredictionButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/src/components/PredictionButton.js -------------------------------------------------------------------------------- /prediction-app/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/src/index.css -------------------------------------------------------------------------------- /prediction-app/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/src/index.js -------------------------------------------------------------------------------- /prediction-app/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction-app/src/logo.svg -------------------------------------------------------------------------------- /prediction/.dockerignore: -------------------------------------------------------------------------------- 1 | .env 2 | celerybeat-schedule 3 | -------------------------------------------------------------------------------- /prediction/.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/.env.template -------------------------------------------------------------------------------- /prediction/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/Dockerfile -------------------------------------------------------------------------------- /prediction/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prediction/api/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/admin.py -------------------------------------------------------------------------------- /prediction/api/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/apps.py -------------------------------------------------------------------------------- /prediction/api/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prediction/api/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prediction/api/management/commands/initialize_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/management/commands/initialize_db.py -------------------------------------------------------------------------------- /prediction/api/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/migrations/0001_initial.py -------------------------------------------------------------------------------- /prediction/api/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prediction/api/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/models.py -------------------------------------------------------------------------------- /prediction/api/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/tasks.py -------------------------------------------------------------------------------- /prediction/api/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/tests.py -------------------------------------------------------------------------------- /prediction/api/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/urls.py -------------------------------------------------------------------------------- /prediction/api/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/utils.py -------------------------------------------------------------------------------- /prediction/api/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/api/views.py -------------------------------------------------------------------------------- /prediction/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/manage.py -------------------------------------------------------------------------------- /prediction/prediction/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/prediction/__init__.py -------------------------------------------------------------------------------- /prediction/prediction/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/prediction/asgi.py -------------------------------------------------------------------------------- /prediction/prediction/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/prediction/celery.py -------------------------------------------------------------------------------- /prediction/prediction/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/prediction/settings.py -------------------------------------------------------------------------------- /prediction/prediction/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/prediction/urls.py -------------------------------------------------------------------------------- /prediction/prediction/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/prediction/wsgi.py -------------------------------------------------------------------------------- /prediction/predictions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/predictions.txt -------------------------------------------------------------------------------- /prediction/pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | DJANGO_SETTINGS_MODULE=prediction.settings -------------------------------------------------------------------------------- /prediction/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-dev-blog/docker-compose-demo/HEAD/prediction/requirements.txt --------------------------------------------------------------------------------