Work out the host and port for the container

Avoid docker inspect:
1. Use the container ID as the host
2. Configure the port, default to 3000
This commit is contained in:
Donal McBreen
2024-09-10 17:47:38 +01:00
parent e9d480b514
commit 6f2eaed398
11 changed files with 28 additions and 24 deletions

View File

@@ -56,6 +56,12 @@ proxy:
# requests for other apps that do have a host set.
host: foo.example.com
# Port
#
# The port the application is exposed on
# Defaults to 80
port: 3000
# SSL
#
# Kamal Proxy can automatically obtain and renew TLS certificates for your applications.