© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•7mo ago•
20 replies
surwren

NGINX- Docker-Compose or K8s?

I am currently running 2 different docker-compose services on the same CVM (using different docker-compose files).
One is a .NET service running on .../8080, another is a FastAPI running on .../8000
(some of the FastAPI endpoints also call the .NET endpoints)

I'm looking to add NGINX because I need SSL for both services.
However, I don't know which is the better option:

1) Consolidate everything into a single Docker-Compose with NGINX in said docker compose

2) Setup K8s NGINX Ingress Controller, as well as use K8s pods to rout between the 2 different services based on outside traffic (?)

I'm not familiar with K8s at all (but I am interested to learn... just don't want to crash out because this project does have some sort of deadline).

Have only recently begun to feel a little teensy bit of confidence/familiarity with Docker.
Alternatively, are there any other options or progressions?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Problem with docker/nginx
C#CC# / help
2y ago
❔ doubts with docker-compose
C#CC# / help
3y ago
Docker-compose volume storing image
C#CC# / help
14mo ago
❔ ✅ problem with docker compose build
C#CC# / help
3y ago