diff --git a/DOCKER.md b/DOCKER.md index 5cbb6e6..b485eb7 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -8,3 +8,6 @@ The Caddy server will listen on `localhost:5004` for the frontend and API, 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. \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 5606760..4fc94bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,11 @@ services: - "Database:EnablePooling=true" - "Host=0.0.0.0" - "Port=5000" + - "Logging:MetricsPort=5001" restart: unless-stopped + ports: + - "5006:5000" + - "5007:5001" volumes: - ./docker/config.ini:/app/config.ini