TanmoySG / wunder-identity-provider

ID Provider for Wunder Platform. Authentication & Authorization Server for all wunder products
3 stars 0 forks source link

[Standardization] Containerization using Docker #75

Closed TanmoySG closed 2 years ago

TanmoySG commented 2 years ago

Containerize wunderidentityprovider using Docker for easy of use and portability. Further, the Azure Deployment will be torndown and replaced with docker container that can run in the development environment of other services to test integration with wIP.

[Checkpoints]

TanmoySG commented 2 years ago
if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0')

Use host in app.run() to use the container

expose 5000

run using docker run -p 5000:5000 container-name

and test using curl 1xx.xxx.xxx:wxyz 1xx.xxx.xxx:wxyz being the IP, may also use localhost:5000

Works on Codespaces and Local - tested ✅

TanmoySG commented 2 years ago

Tracking in #82 and #79