Skip to content
Snippets Groups Projects
Commit 836624be authored by Jasper Annyas's avatar Jasper Annyas
Browse files

Unshelved work in progress

parent f0f1197b
No related branches found
No related tags found
1 merge request!121Resolve L2SS-275 "Add UNB2 simulator and integration test"
{
"servers": {
"UNB2": {
"LTS": {
"UNB2": {
"LTS/UNB2/1": {
"properties": {
"OPC_Server_Name": [
"unb2-sim"
],
"OPC_Server_Port": [
"4844"
],
"OPC_Time_Out": [
"5.0"
]
}
}
}
}
}
}
}
#
# Docker compose file that launches a UNB2 simulator
#
# Defines:
# - unb2-sim
#
version: '2'
services:
unb2-sim:
build:
context: unb2-sim
container_name: ${CONTAINER_NAME_PREFIX}unb2-sim
networks:
- control
volumes:
- ${HOME}:/hosthome
ports:
- "4844:4844"
restart: on-failure
FROM ubuntu:20.04
COPY requirements.txt /requirements.txt
ENV A = A
RUN apt-get update && apt-get install -y python3 python3-pip python3-yaml git && \
pip3 install -r requirements.txt && \
git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/pypcc
WORKDIR /pypcc
CMD ["python3","pypcc2.py","--simulator", "--port=4844", "--config=UNB2"]
#check if this file is necessary
opcua
numpy
recordclass>=0.16,<0.16.1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment