Update Docker configuration to change HTTP port from 8080 to 8085
- Modified docker-compose.yml to update the ASPNETCORE_HTTP_PORTS and health check URL to reflect the new port. - Adjusted service port mapping to ensure consistency with the updated configuration.
This commit is contained in:
+3
-3
@@ -28,20 +28,20 @@ services:
|
||||
- .env
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
ASPNETCORE_HTTP_PORTS: '8080'
|
||||
ASPNETCORE_HTTP_PORTS: '8085'
|
||||
ConnectionStrings__Default: 'Host=db;Port=5432;Database=${POSTGRES_DB:-pnvpanel};Username=${POSTGRES_USER:-pnvpanel};Password=${POSTGRES_PASSWORD:-pnvpanel}'
|
||||
volumes:
|
||||
# Data Protection key-ring (шифрование секретов нод at-rest) должен пережить пересоздание
|
||||
# контейнера — иначе расшифровка паролей нод после рестарта станет невозможна.
|
||||
- dp_keys:/app/keys
|
||||
healthcheck:
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost:8080/health']
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost:8085/health']
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
start_period: 20s
|
||||
retries: 5
|
||||
ports:
|
||||
- '8080:8080'
|
||||
- '8085:8085'
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user