Skip to content

jmarley/dv-couchbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JBoss DV and Couchbase Docker project

This project is meant to build the docker containers needed for setting up a lab enviornment for extending DV to work with Couchbase

Generate docker install

The following steps can be used to configure and run the demo in docker container

  1. Download project

    $ git clone git@github.com:jmarley/dv-couchbase.git
  2. Download JBoss EAP 6.4

  3. Download JBoss Data Virtualization

  4. Add products to installs directory

    $ mv ${download_home}/jboss-eap-6.4.0.GA.zip ${project_home}/dv-couchbase/installs/
    $ mv ${download_home}/jboss-dv-installer-6.2.0.redhat-3.jar ${project_home}/dv-couchbase/installs/
Build EAP Container
  1. Build EAP demo image

    $ sudo docker build -f ${project_home}/dv-couchbase/support/docker/eap/DockerFile -t jmarley/eap6.4:v0 .
  2. Test EAP container

    $ sudo docker run -d -p 9990:9990 -p 8080:8080 -p 9999:9999 -t jmarley/eap6.4:v0
  3. Login into EAP admin console

    1. user: jbossadmin

    2. pass: r3dhat1!

JDV Container
  1. Build JDV demo image

    $ sudo docker build \
    -f ${project_home}/dv-couchbase/support/docker/dv/DockerFile \
    -t jmarley/jdv6.2:v0 .
  2. Test JDV container

    $ sudo docker run -d -p 31000:31000 -p 8080:8080 -p 9990:9990 -p 9999:9999 \
    -t jmarley/jdv6.2:v0

Additional information can be found in the jbossdemocentral docker developer repository

Couchbase Container

I used the offical couchbase docker for this, see Reference 1 for more information . Set up persistent storage

+

$ mkdir ${project_home}/dv-couchbase/scratch/couchbase && \
chcon -Rt svirt_sandbox_file_t ${project_home}/dv-couchbase/scratch/couchbase
  1. Build Couchbase demo image

    $ sudo docker build -f ${project_home}/dv-couchbase/support/docker/couchbase/DockerFile -t jmarley/couchbase .
  2. Test JDV container

    $ sudo docker run -d \
    -v ${project_home}/dv-couchbase/scratch/couchbase:/opt/couchbase/var \
    -p 8091:8091 jmarley/couchbase
Note
make sure to have a persistent volume set up for couch otherwise you will have to recreate each time couch is instanciated

Couchbase Translator

You may be wondering why the translator is separate from this project and the simple answer is for ease of development. Teiid provides a maven archetype that helps build the translator project and this README is primarily for setting up the infrastructure.

Supporting Articles

Released Versions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors