amykyta3 / envoy-logger

34 stars 10 forks source link

Adding Docker build #9

Closed jasonajack closed 9 months ago

jasonajack commented 10 months ago

I'm working on refactoring to add a PrometheusDB option. My homelab is predominantly containerized so I wanted to have a stable image build process first before testing.

This adds the necessary files to build and push to dockerhub. My first cut was to push to https://hub.docker.com/repository/docker/maniacmog/envoy-logger but I was wondering if you'd like to push to your own dockerhub location?

I removed the infinite while-loop in main since it was preventing me from ever escaping the application once it ran. With Docker Compose the restart: unless-stopped option will kick it back off in the event of an unexpected failure.

I have a number of other tweaks I'm working on but wanted to submit this one first by itself.

jasonajack commented 9 months ago

I've done a lot more work on this and gone beyond what I've initially pushed. I'll have to rethink how I will propose pushing these changes upstream. Closing for now.