Skip to content

A Docker appliance for deploying client/server web applications using Angular and Flask with a preexisting Traefik reverse proxy server.

License

Notifications You must be signed in to change notification settings

pjryan126/ng-flask-docker

Repository files navigation

Ng-Flask-Docker

A Docker appliance for deploying client/server web applications using Angular and Flask with a preexisting Traefik reverse proxy server.

Getting Started

These instructions will get a project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy your project on a live system.

Prerequisites

What things you need to install the software and how to install them:

Installing

  1. Download the repository.

    git clone {this repo}
    cd {this repo}
    
  2. Change the environment variables in the .env file.

    • CLIENT_FRONTEND = domain for frontend client application
    • CLIENT_PORT = port on which to serve backend client application
    • SERVER_FRONTEND = domain for frontend server application
    • SERVER_PORT = port on which to serve backend server application
    • NETWORK = name of preexisting Traefik reverse proxy server
  3. Run the appliance.

    docker-compose -f docker-compose.dev.yml up -d
    
  4. Visit your Traefik dashboard to confirm that the new NgFlask application is up and running.

Deployment

To deploy the container and application in a production environment:

docker-compose up -d

Built With

Authors

  • Patrick Ryan

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A Docker appliance for deploying client/server web applications using Angular and Flask with a preexisting Traefik reverse proxy server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published