Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

99linesofcode/docker-nginx-python-mysql

Repository files navigation

docker-nginx-python-mysql-flask-react

WORK IN PROGRESS

Caveat: In order to simplify development, I've created a couple of shared volumes that map files from my development machine to the Docker container. In a production environment, generating the bundled HTML, CSS and JavaScript and configuring NGINX is handled by the Dockerfile.nginx.

To-do

  1. Use Docker environment file to configure containers;
  2. Use template nginx configuration file and replace that inside the container so we can drop the shared volume;1. Configure NGINX to allow SSL connections;
  3. Add PostgreSQL image;
  4. Improve Makefile;
  5. Improve .gitignore;

Running the application

  1. Copy the pip configuration file: cp back/requirements.txt.dist back/requirements.txt

  2. Copy the node configuration file: cp front/packages.json.dist packages.json

About

docker-compose Python on NGINX over uWSGI

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published