Configuring and Running DBSync Cloud CDM On Docker
Prerequisites
Install Docker
Download and install Docker Desktop from Docker.
Configuration
Create a docker-compose.yml file in your project directory with the following content:
docker-compose.yml
Explanation of Configuration
services:
dbsync-cdm-local: Defines the Docker service for DBSync Cloud CDM.
container_name: Specifies the name of the Docker container (dbsync-cloud-cdm).
image: Specifies the Docker image (dbsync/cloud-cdm:ext_9.0.3) to use for DBSync Cloud CDM.
ports: Maps port 8080 of the Docker container to port 8080 of the host.
environment: Sets environment variables required by DBSync Cloud CDM, based on the provided configuration:
system_dir: Externalizes app specific system properties.
profile_db_path: Externalizes profile database (profile_db.mv.db). Used to store Application users and roles along with Profile log entries.
storage_path: Externalizes profiles (config.properties).
volumes: Mounts a Docker volume (docker-volume) to /opt/data in the container.
You can configure the environment and volumes in the provided docker-compose.yaml as per the requirement
Running the Application
Start Docker Containers:
Open a terminal and navigate to the directory containing your docker-compose.yml file.
Run the following command to start DBSync Cloud CDM:
docker-compose up -d |
Check the running containers
docker ps |
Login into docker with below command
Check tomcat logs
Access DBSync Cloud CDM:
Once Docker Compose has started the containers, access DBSync Cloud CDM at http://localhost:8080/dbsync in your web browser.
Accessing application User Interface
You can open the following URL in your browser(with Javascript enabled)
Default login:
Username: admin@localhost
Password: admin
Password can be changed after you login by heading to administration page, additional roles and users can also be added
You can follow the documentation for more details on how to configure and get started with the replication of data.
Last updated