Company
Date Published
Author
Eric Paulsen
Word count
655
Language
English
Hacker News points
None

Summary

Deploying Coder with Docker and HTTPS involves using a reverse proxy, such as nginx, to enable TLS encryption for network traffic. This process is different from deploying on Kubernetes but is just as important for securing the Coder instance. The reverse proxy masks incoming traffic and enables running services on various ports without exposing them to user-facing networks. To set up a reverse proxy with nginx, you need an SSL/TLS certificate, domain name, Docker Engine, and Docker Compose installed. Once the server configuration is set, define your multi-container application using a .yaml file in Docker Compose. Finally, run docker-compose up -d to start both containers simultaneously, allowing access to your Coder instance from the domain.