HUB
Sign inSign up
rfscopedb logo

jeffersonlab/rfscopedb

By jeffersonlab

•Updated over 1 year ago

A containerized database for use by rfscopedb and related applications

Image
0

5.8K

jeffersonlab/rfscopedb repository overview

⁠rfscopedb-container

A containerized database for use by rfscopedb⁠ and related applications

⁠Overview

This is a simple containerized MariaDB database used to support storage and retrieval of RF waveforms collected from scope mode buffers.

⁠Quick Start with Compose

Download the project and run compose from within. This will pull and run the latest pre-built image from DockerHub.

git clone https://https://github.com/JeffersonLab/rfscopedb-container
cd rfscopedb-container
docker compose up

Then use mariadb tools to interact with the database.

docker -exec -it rfscopedb bash
mysql -u scope_rw -p
select * from scope_waveforms.scans;

Note: default password is password.

A python package, called rfscopedb⁠, was created for interacting with this database.

⁠Install

docker pull jeffersonlab/rfscopedb

⁠Configure

No customization is available at this time. Two mariadb users are created. scope_owner has all grants on scope_waveforms database. scope_rw has read/write permissions. See 01-create-db.sql⁠ for more details.

⁠Build

git clone https://github.com/JeffersonLab/rfscopedb-container
cd rfscoped-container
docker build -t rfscopedb .

Alterantively, the command docker compose -f build.yml up will build the image and run a conainter based on that image.

⁠Release

  1. Create a new release on the GitHub Releases⁠ page.
  2. Build and publish a new Docker image from the GitHub tag. This project uses GitHub actions⁠ to do this on the publication of a new release based on the semver tag associated with the release.
  3. Bump and commit quick start image version⁠

⁠See Also

Tag summary

Content type

Image

Digest

sha256:1fd833c00…

Size

115.8 MB

Last updated

over 1 year ago

docker pull jeffersonlab/rfscopedb