Commit bc2e24c0 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Added ska proto status server

parent 2ef4f829
---
- name: SKA Proto Status Server
include_role:
name: common
vars:
image_name: skaproto_status_server
container_name: SKAPROTO_STATUS_SERVER
container_cmd: "/usr/bin/python /usr/local/lib/python2.7/dist-packages/mpikat-0.1-py2.7.egg/mpikat/ska_protodish_status_server.py --host={{ edd_subnet }} --port={{ bind_port }} --redis-ip {{ redis_storage }}"
launch_influx_sidecar: True
register_as_pipeline: False
measurement: telescope_meta
dashboard_template: TelescopeMeta.json
tags:
- always
FROM debian:buster
MAINTAINER Tobias Winchen "twinchen@mpifr-bonn.mpg.de"
# Suppress debconf warnings
ENV DEBIAN_FRONTEND noninteractive
# Switch account to root and adding user accounts and password
USER root
RUN mkdir -p /src && \
apt-get -y update && \
apt-get --no-install-recommends -y install \
libhdf5-dev \
python-h5py \
python-numpy \
python-setuptools \
python-setuptools-git \
python-setuptools-scm \
python-pip \
python-pil \
python-jinja2 \
python-cmd2 \
python-concurrent.futures \
libpng-dev \
pkg-config \
libfreetype6-dev \
python-scipy \
python-pytest \
python-redis \
python-numpy \
python-tornado \
python-trollius \
python-future \
python-docker \
python-enum34 \
python-ipaddress \
python-cryptography \
python-networkx \
python-coloredlogs \
python-urllib3 \
python-git \
python-simplejson \
python-yaml \
python-kerberos \
python-paramiko \
build-essential \
libboost-all-dev \
&&\
\
pip install --no-deps \
omnijson==0.1.2 \
ujson==2.0.3 \
katpoint==0.9 \
katportalclient==0.2.2 \
kiwisolver==1.1.0 \
nvector==0.7.4 \
ephem==3.7.7.0 \
&& \
cd /src && \
git clone https://github.com/ska-sa/katportalclient.git &&\
cd katportalclient && \
pip install --no-deps . && \
echo 'DONE!'
RUN git clone {{ mpikat_repository }} mpikat &&\
cd mpikat && \
git checkout {{ mpikat_branch }}&& \
python setup.py install && \
echo 'DONE!'
This diff is collapsed.
......@@ -3,6 +3,10 @@
- name: basic configuraton
import_playbook: basic_configuration/main.yml
- name: setup telescope status server connection
hosts: interface
roles:
- ska_proto_status_server
#- name: use logspout to centralize logging
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment