Set PORT env to decide the expose port
Sample docker-compose.yml
services:
dummy-service:
image: phan2410/dummy-service
environment:
- PORT=1111
- APPID=1234
ports:
- '1111:1111'
Swagger docs url: http://localhost:1111/docs
Example use:
# curl http://localhost:1111/495
<html>
<head>
<title>1234</title>
</head>
<body>
<h1>appid: 1234 path /495: Loss any summer professional your.</h1>
</body>
</html>
Helm chart: https://artifacthub.io/packages/helm/phan/dummy-service
Content type
Image
Digest
sha256:9c6ed6de2…
Size
290.7 MB
Last updated
over 1 year ago
docker pull phan2410/dummy-service:v0.0.8