docker: expose metrics and internal API
This commit is contained in:
parent
507b9c3f4c
commit
b36b54f9e6
2 changed files with 7 additions and 0 deletions
|
@ -8,3 +8,6 @@
|
||||||
|
|
||||||
The Caddy server will listen on `localhost:5004` for the frontend and API,
|
The Caddy server will listen on `localhost:5004` for the frontend and API,
|
||||||
and on `localhost:5005` for the profile URL shortener.
|
and on `localhost:5005` for the profile URL shortener.
|
||||||
|
|
||||||
|
The backend server listens on `localhost:5006` for unproxied API access,
|
||||||
|
and `localhost:5007` for metrics.
|
|
@ -9,7 +9,11 @@ services:
|
||||||
- "Database:EnablePooling=true"
|
- "Database:EnablePooling=true"
|
||||||
- "Host=0.0.0.0"
|
- "Host=0.0.0.0"
|
||||||
- "Port=5000"
|
- "Port=5000"
|
||||||
|
- "Logging:MetricsPort=5001"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "5006:5000"
|
||||||
|
- "5007:5001"
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/config.ini:/app/config.ini
|
- ./docker/config.ini:/app/config.ini
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue