diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 533be91cd..66c1870b8 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -43,8 +43,8 @@ jobs: include: - dockerfile: docker/alpine/Dockerfile name: agent -# - dockerfile: demo/Dockerfile -# name: demo + - dockerfile: demo/Dockerfile + name: demo # steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/demo/Dockerfile b/demo/Dockerfile index a1b081c30..949c94f18 100644 --- a/demo/Dockerfile +++ b/demo/Dockerfile @@ -41,6 +41,9 @@ COPY --chown=agent:agent \ ./demo/agent/agent.dock \ ./demo/agent/Devices.xml \ /mtconnect/config/ +COPY --chown=agent:agent \ + ./demo/styles/styles.xsl \ + /mtconnect/data/styles/ USER agent WORKDIR /home/agent diff --git a/demo/compose/compose.yaml b/demo/compose/compose.yaml index 0559577e2..7ef5097f4 100644 --- a/demo/compose/compose.yaml +++ b/demo/compose/compose.yaml @@ -16,6 +16,7 @@ services: volumes: - ./agent/agent.cfg:/mtconnect/config/agent.cfg - ../agent/Devices.xml:/mtconnect/config/Devices.xml + - ../styles/styles.xsl:/mtconnect/data/styles/styles.xsl - ./log:/mtconnect/log - ../twin:/mtconnect/data/demo/twin ports: diff --git a/demo/compose/compose_mqtt.yaml b/demo/compose/compose_mqtt.yaml index 975721af4..6de2594ed 100644 --- a/demo/compose/compose_mqtt.yaml +++ b/demo/compose/compose_mqtt.yaml @@ -24,6 +24,7 @@ services: volumes: - ./agent/agentmqtt.cfg:/mtconnect/config/agent.cfg - ../agent/Devices.xml:/mtconnect/config/Devices.xml + - ../styles/styles.xsl:/mtconnect/data/styles/styles.xsl - ./log:/mtconnect/log - ../twin:/mtconnect/data/demo/twin ports: diff --git a/demo/styles/styles.xsl b/demo/styles/styles.xsl new file mode 100644 index 000000000..83737edd0 --- /dev/null +++ b/demo/styles/styles.xsl @@ -0,0 +1,552 @@ + + + + + + + + + + + + + + MTConnect Agent + + + + + + + + + + +
+ +
+ + + + + + + +