|
|
||
|---|---|---|
| .. | ||
| config | ||
| data | ||
| dist | ||
| downloads | ||
| patches | ||
| scripts | ||
| .dockerignore | ||
| .env | ||
| Dockerfile | ||
| Dockerfile.atlas | ||
| Dockerfile.atlas-base | ||
| Dockerfile.atlas-build | ||
| Dockerfile.atlas-db | ||
| Dockerfile.atlas-hadoop | ||
| Dockerfile.atlas-hbase | ||
| Dockerfile.atlas-hive | ||
| Dockerfile.atlas-kafka | ||
| Dockerfile.atlas-solr | ||
| Dockerfile.atlas-zk | ||
| README.md | ||
| docker-compose.atlas-base.yml | ||
| docker-compose.atlas-build.yml | ||
| docker-compose.atlas-hadoop.yml | ||
| docker-compose.atlas-hbase.yml | ||
| docker-compose.atlas-hive.yml | ||
| docker-compose.atlas-kafka.yml | ||
| docker-compose.atlas.yml | ||
| download-archives.sh | ||
README.md
Overview
Docker files in this folder create docker images and run them to build Apache Atlas, deploy Apache Atlas and dependent services in containers.
Usage
-
Ensure that you have recent version of Docker installed from docker.io (as of this writing: Engine 20.10.5, Compose 1.28.5). Make sure to configure docker with at least 6gb of memory.
-
Set this folder as your working directory.
-
Update environment variables in .env file, if necessary
-
Execute following command to download necessary archives to setup Atlas/HDFS/HBase/Kafka services: ./download-archives.sh
-
Build and deploy Apache Atlas in containers using docker-compose
5.1. Execute following command to build Apache Atlas:
docker-compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml upTime taken to complete the build might vary (upto an hour), depending on status of ${HOME}/.m2 directory cache.
5.2. Execute following command to install and start Atlas and dependent services (Solr, HBase, Kafka) in containers:
docker-compose -f docker-compose.atlas-base.yml -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml -f docker-compose.atlas-hbase.yml -f docker-compose.atlas-kafka.yml -f docker-compose.atlas-hive.yml up -dApache Atlas will be installed at /opt/atlas/, and logs are at /var/logs/atlas directory.
-
Atlas Admin can be accessed at http://localhost:21000 (admin/atlasR0cks!)