fix(manager): persist environment presentation and media

This commit is contained in:
DCCONSTRUCTIONS
2026-08-22 09:47:57 +03:00
parent 40cd637f72
commit 506d786ee6
7 changed files with 294 additions and 12 deletions
+8
View File
@@ -34,6 +34,8 @@ services:
NODEDC_LAUNCHER_INTERNAL_TOKEN_FILE: /run/nodedc-secrets/device-core-internal-token
NODEDC_DEVICE_CORE_INTERNAL_URL: http://device-control-core:18120
NODEDC_DEVICE_CORE_TOKEN_FILE: /run/nodedc-secrets/management-core-token
NODEDC_DEVICE_MANAGER_PRESENTATION_PATH: /var/lib/nodedc-device-manager/device-manager-presentation.json
NODEDC_DEVICE_MANAGER_MEDIA_ROOT: /var/lib/nodedc-device-manager/media
volumes:
- type: bind
source: /volume1/docker/nodedc-platform/secrets/device-core-internal-token
@@ -47,6 +49,12 @@ services:
read_only: true
bind:
create_host_path: false
- type: bind
source: /volume1/docker/nodedc-device-plane/data/device-manager
target: /var/lib/nodedc-device-manager
read_only: false
bind:
create_host_path: false
expose:
- "18122"
networks: