RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
In this document, we are planning to bring up three webpa modules talaria, scytale, tr1d1um in three different containers and checking the connectivity in them
Install docker in your machine
$ docker --version Docker version 27.5.1, build 27.5.1-0ubuntu3~24.04.2
Attached the required files in the wiki page webpa_docker_files.tgz . tree structure of the attachment is as follows
. ├── docker-compose.yaml ├── scytale │ ├── Dockerfile │ └── scytale.yaml ├── talaria │ ├── Dockerfile │ └── talaria.yaml └── tr1d1um ├── Dockerfile └── tr1d1um.yaml
1) Create a folder in your workspace you wish to run the webpa modules
2) Extract the tarball attached here to your workspace
3) Copy the docker-compose.yml file from the attachment to the folder you have created
4) git clone talaria module to the folder you have created git clone https://github.com/xmidt-org/talaria ( If the folder name is different, make sure the talaria is the folder name)
5) Replace dockerfile and yaml from the attachment to the talaria folder
6) git clone scytale module to the folder you have created git clone https://github.com/xmidt-org/scytale( If the folder name is different, make sure the scytale is the folder name)
7) Replace dockerfile and yaml from the attachment to the scytale folder
8) git clone tr1d1um module to the folder you have created git clone https://github.com/xmidt-org/tr1d1um ( If the folder name is different, make sure the tr1d1um is the folder name)
9) Replace dockerfile and yaml from the attachment to the tr1d1um folder
10) Follow this steps for generating basic auth token WebPA (Xmidt) Ubuntu Reference Setup#Generatingaauthtoken and replace in all basic authentication
11) Replace your server IP in these sections
./tr1d1um/tr1d1um.yaml:12:server: "<public IP>" ./tr1d1um/tr1d1um.yaml:305:targetURL: http://<public IP>:6300/api/v2 ./talaria/talaria.yaml:9:server: "public IP" ./scytale/scytale.yaml:9:server: "public IP" ./scytale/scytale.yaml:214: endpoints: ["http://<public IP>:8080/api/v3/device/send"] ./scytale/scytale.yaml:370: - http://<public IP>:6300
12) Run docker compose
$ docker compose up --build -d
13) check created containers are running successfully
$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 57dd3ec297cb tr1d1um "/etc/tr1d1um/tr1d1um" 3 days ago Up 3 days 0.0.0.0:6100-6103->6100-6103/tcp, :::6100-6103->6100-6103/tcp tr1d1um b8a3dc0d915b scytale "/etc/scytale/scytale" 3 days ago Up 3 days 0.0.0.0:6300-6303->6300-6303/tcp, :::6300-6303->6300-6303/tcp scytale 54082f1f8526 talaria "/etc/talaria/talaria" 3 days ago Up 3 days 0.0.0.0:6200-6204->6200-6204/tcp, :::6200-6204->6200-6204/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp talaria
14) Verify docker images are created successfully
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE tr1d1um latest aa9d55a69a6c 3 days ago 71.2MB scytale latest 137bad8f272c 3 days ago 82.9MB talaria latest 884a6d178222 3 days ago 74.9MB
Note : For this bringup, talaria port is modified to 8080, rest of the ports used are same as in the repo.
For errors, can be checked by $ docker logs <containerid>
Testing refer WebPA (Xmidt) Ubuntu Reference Setup#Usecases