mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-20 10:14:35 +02:00
133 lines
3.1 KiB
YAML
133 lines
3.1 KiB
YAML
version: "3.6"
|
|
|
|
services:
|
|
broker:
|
|
image: "rabbitmq:3-management"
|
|
network_mode: "bridge"
|
|
container_name: "std-broker"
|
|
ports:
|
|
- 15672:15672
|
|
- 5672:5672
|
|
|
|
redis:
|
|
image: "redis"
|
|
network_mode: "bridge"
|
|
container_name: "redis"
|
|
ports:
|
|
- 6379:6379
|
|
|
|
udp-sim:
|
|
image: "paulscherrerinstitute/std-daq-buffer:${CONTAINER_TAG}"
|
|
network_mode: "host"
|
|
container_name: "udp-sim"
|
|
command: ./std_udp_sim redis_config.json ${BIT_DEPTH} 95
|
|
environment:
|
|
- REDIS_SKIP
|
|
- REDIS_HOST
|
|
- INFLUXDB_SKIP
|
|
- INFLUXDB_HOST
|
|
- PIPELINE_NAME
|
|
- SERVICE_NAME=readout.udp_sim
|
|
|
|
udp-recv-0:
|
|
image: "paulscherrerinstitute/std-daq-buffer:${CONTAINER_TAG}"
|
|
network_mode: "host"
|
|
ipc: "host"
|
|
shm_size: 2G
|
|
volumes:
|
|
- /tmp:/tmp
|
|
container_name: "udp-recv-0"
|
|
command: ./std_udp_recv redis_config.json 0 ${BIT_DEPTH}
|
|
environment:
|
|
- REDIS_SKIP
|
|
- REDIS_HOST
|
|
- INFLUXDB_SKIP
|
|
- INFLUXDB_HOST
|
|
- PIPELINE_NAME
|
|
- SERVICE_NAME=readout.udp_recv_0
|
|
|
|
udp-recv-1:
|
|
image: "paulscherrerinstitute/std-daq-buffer:${CONTAINER_TAG}"
|
|
network_mode: "host"
|
|
ipc: "host"
|
|
shm_size: 2G
|
|
volumes:
|
|
- /tmp:/tmp
|
|
container_name: "udp-recv-1"
|
|
command: ./std_udp_recv redis_config.json 1 ${BIT_DEPTH}
|
|
environment:
|
|
- REDIS_SKIP
|
|
- REDIS_HOST
|
|
- INFLUXDB_SKIP
|
|
- INFLUXDB_HOST
|
|
- PIPELINE_NAME
|
|
- SERVICE_NAME=readout.udp_recv_1
|
|
|
|
udp-recv-2:
|
|
image: "paulscherrerinstitute/std-daq-buffer:${CONTAINER_TAG}"
|
|
network_mode: "host"
|
|
ipc: "host"
|
|
shm_size: 2G
|
|
volumes:
|
|
- /tmp:/tmp
|
|
container_name: "udp-recv-2"
|
|
command: ./std_udp_recv redis_config.json 2 ${BIT_DEPTH}
|
|
environment:
|
|
- REDIS_SKIP
|
|
- REDIS_HOST
|
|
- INFLUXDB_SKIP
|
|
- INFLUXDB_HOST
|
|
- PIPELINE_NAME
|
|
- SERVICE_NAME=readout.udp_recv_2
|
|
|
|
udp-recv-3:
|
|
image: "paulscherrerinstitute/std-daq-buffer:${CONTAINER_TAG}"
|
|
network_mode: "host"
|
|
ipc: "host"
|
|
shm_size: 2G
|
|
volumes:
|
|
- /tmp:/tmp
|
|
container_name: "udp-recv-3"
|
|
command: ./std_udp_recv redis_config.json 3 ${BIT_DEPTH}
|
|
environment:
|
|
- REDIS_SKIP
|
|
- REDIS_HOST
|
|
- INFLUXDB_SKIP
|
|
- INFLUXDB_HOST
|
|
- PIPELINE_NAME
|
|
- SERVICE_NAME=readout.udp_recv_3
|
|
|
|
udp-sync:
|
|
image: "paulscherrerinstitute/std-daq-buffer:${CONTAINER_TAG}"
|
|
restart: always
|
|
network_mode: "host"
|
|
volumes:
|
|
- /tmp:/tmp
|
|
container_name: "udp-sync"
|
|
command: ./std_udp_sync redis_config.json
|
|
environment:
|
|
- REDIS_SKIP
|
|
- REDIS_HOST
|
|
- INFLUXDB_SKIP
|
|
- INFLUXDB_HOST
|
|
- PIPELINE_NAME
|
|
- SERVICE_NAME=readout.udp_sync
|
|
|
|
image-assembler:
|
|
image: "paulscherrerinstitute/std-daq-buffer:${CONTAINER_TAG}"
|
|
network_mode: "host"
|
|
ipc: "host"
|
|
shm_size: 4G
|
|
volumes:
|
|
- /tmp:/tmp
|
|
container_name: "image-assembler"
|
|
command: ./eiger_assembler redis_config.json ${BIT_DEPTH}
|
|
environment:
|
|
- REDIS_SKIP
|
|
- REDIS_HOST
|
|
- INFLUXDB_SKIP
|
|
- INFLUXDB_HOST
|
|
- PIPELINE_NAME
|
|
- SERVICE_NAME=online.image_assembler
|
|
|