close

Filter

loading table of contents...

Deployment Manual / Version 2304

Table Of Contents

2.4.4 Examples with Mounted Configuration

Create config. 

cat << EOF > capclient.properties
cap.client.server.ior.url=http://<host>:<port>/ior
EOF

cat <<EOF > resetcaefeeder.properties
jdbc.driver=com.mysql.cj.jdbc.Driver
jdbc.url=jdbc:mysql://<host>:3306/cm_mcaefeeder
jdbc.user=cm_mcaefeeder
jdbc.password=cm_mcaefeeder
EOF

cat <<EOF > sql.properties
sql.store.driver=com.mysql.cj.jdbc.Driver
sql.store.url=jdbc:mysql://localhost:3306/cm_management
sql.store.user=cm_management
sql.store.password=cm_management
EOF

Export content to your host. 

docker run --rm \
  --entrypoint /coremedia/tools/bin/cm \
  --volume \
    $PWD/capclient.properties:\
    /coremedia/tools/properties/corem/capclient.properties \
  --volume \
    $PWD/export:/export \
  coremedia/management-tools \
  serverexport -u admin -p admin \
  -r --basedir /export /

Import content to your host. 

docker run --rm \
  --entrypoint /coremedia/tools/bin/cm \
  --volume \
    $PWD/capclient.properties:\
    /coremedia/tools/properties/corem/capclient.properties \
  --volume \
    $PWD/import:/import \
  coremedia/management-tools \
  serverimport -u admin -p admin \
  -r /import

Reset the cae-feeder-preview. 

docker run --rm \
  --entrypoint /coremedia/tools/bin/cm \
  --volume \
    $PWD/resetcaefeeder.properties:\
    /coremedia/tools/properties/corem/resetcaefeeder.properties \
  coremedia/management-tools \
  resetcaefeeder reset

Unlock the content-management-server. 

docker run --rm \
  --entrypoint /coremedia/tools/bin/cm \
  --volume \
    $PWD/sql.properties:\
    /coremedia/tools/properties/corem/sql.properties \
  coremedia/management-tools \
  unlockcontentserver

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.