forked from Hithomelabs/CFTunnels
- Add spring-boot-starter-actuator dependency to portainer-automation/build.gradle - Configure management.server.port=8082 with health,info exposure in application.properties - Map 5005:8082 in portainer-automation/docker-compose.yaml - Add MGMT_PORT=5005 to portainer-automation/.env.example - EXPOSE 8081 8082 in portainer-automation Dockerfile - No ActuatorSecurityConfig needed: service has no Spring Security/OIDC - Management port stays LAN-only, NOT added to any tunnel ingress
15 lines
578 B
YAML
15 lines
578 B
YAML
services:
|
|
portainer-automation:
|
|
image: gitea.hithomelabs.com/hithomelabs/portainer-automation:${ENV:-test}
|
|
container_name: portainer-automation_${ENV:-test}
|
|
ports:
|
|
- "${HOST_PORT:-8081}:8081" # Application port (internal service)
|
|
- "${MGMT_PORT:-5005}:8082" # Health management port (LAN only)
|
|
environment:
|
|
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-local}
|
|
- PORTAINER_API_KEY=${PORTAINER_API_KEY}
|
|
- PORTAINER_SERVICE_API_KEY=${PORTAINER_SERVICE_API_KEY}
|
|
env_file:
|
|
- ../stack.env
|
|
restart: unless-stopped
|