HUB
Sign inSign up
cedlib logo

jeffersonlab/cedlib

By jeffersonlab

•Updated over 1 year ago

The client library along with command line and web interfaces for interacting with CED database.

Image
0

4.7K

jeffersonlab/cedlib repository overview

⁠Overview

This image contains compiled cedlib client library along with command line and web interfaces useful for interacting with CED database.

⁠Versions

TagPHPCEDLIB
1.X8.36.5
0.X8.16.5

⁠Docker Compose

In order to be useful, this image also needs access to a CED database instance. The simplest way to accomplish this is using docker-compose to create a ceddb container.

⁠Config

Example docker-compose.yml that includes ceddb

services:
  cedlib:
    image: 'jeffersonlab/cedlib:0.5-rl9'
    extra_hosts:
      - 'host.docker.internal:host-gateway'
    ports:
      - '80:80'
      - '443:443'
    depends_on:
      - ceddb
  ceddb:
    image: 'jeffersonlab/ceddb:1.0-populated'
    # Hostname oracle is embedded in tnsnames.ora of cedlib image
    hostname: oracle
    ports:
      - '${FORWARD_ORA_PORT:-1521}:1521'
⁠Example usage
# Bring up the container set on the host
export COMPOSE_PROJECT_NAME=test
composer up
docker exec -it --user cedadm test-cedlib-1 /bin/bash

# Execute CED commands.  The user cedadm has admin role
[cedadm@70c75fb61d4d html]$ ced -inventory -t PIOC -p
opsbat0 (PIOC)
opsbat2 (PIOC)
opsbat4 (PIOC)
opsbat8 (PIOC)
opsla0 (PIOC)
opsla2 (PIOC)
6 element(s)

Tag summary

Content type

Image

Digest

sha256:1aae8ccde…

Size

466.4 MB

Last updated

over 1 year ago

docker pull jeffersonlab/cedlib:1.3