This is an automated email from the ASF dual-hosted git repository. madhan pushed a commit to branch ATLAS-5059 in repository https://gitbox.apache.org/repos/asf/atlas.git
commit fd1c8b42981c940754eb33bcd44f614e655ba3f1 Author: Madhan Neethiraj <mad...@apache.org> AuthorDate: Wed Jul 9 23:53:52 2025 -0700 ATLAS-5059: updated README, removed atlas-hadoop from docker-compose-atlas-common.yml --- dev-support/atlas-docker/README.md | 10 ++++----- .../atlas-docker/docker-compose.atlas-common.yml | 26 ---------------------- .../atlas-docker/docker-compose.atlas-hbase.yml | 4 ++++ 3 files changed, 9 insertions(+), 31 deletions(-) diff --git a/dev-support/atlas-docker/README.md b/dev-support/atlas-docker/README.md index fff299975..9ce7cf955 100644 --- a/dev-support/atlas-docker/README.md +++ b/dev-support/atlas-docker/README.md @@ -42,24 +42,24 @@ Docker files in this folder create docker images and run them to build Apache At export COMPOSE_DOCKER_CLI_BUILD=1 ~~~ -6. Build and deploy Apache Atlas in containers using docker-compose +6. Build and deploy Apache Atlas in containers using docker compose 6.1. Build atlas-base image with the following commenr - docker-compose -f docker-compose.atlas-base.yml build + docker compose -f docker-compose.atlas-base.yml build 6.2. Ensure that the `${HOME}/.m2` directory exists and Execute following command to build Apache Atlas: mkdir -p ${HOME}/.m2 - docker-compose docker-compose.atlas-build.yml up + docker compose docker-compose.atlas-build.yml up Time taken to complete the build might vary (upto an hour), depending on status of ${HOME}/.m2 directory cache. 6.3. To install and start Atlas using Postgres as backend store, execute following commands: export ATLAS_BACKEND=postgres - docker-compose -f docker-compose.atlas.yml up -d --wait + docker compose -f docker-compose.atlas.yml up -d --wait 6.4. To install and start Atlas using HBase as backend store, execute following commands: export ATLAS_BACKEND=hbase - docker-compose -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml up -d --wait + docker compose -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml up -d --wait Apache Atlas will be installed at /opt/atlas/, and logs are at /var/logs/atlas directory. diff --git a/dev-support/atlas-docker/docker-compose.atlas-common.yml b/dev-support/atlas-docker/docker-compose.atlas-common.yml index 5b98fcba4..c1d25ceaf 100644 --- a/dev-support/atlas-docker/docker-compose.atlas-common.yml +++ b/dev-support/atlas-docker/docker-compose.atlas-common.yml @@ -1,29 +1,4 @@ services: - atlas-hadoop: - build: - context: . - dockerfile: Dockerfile.atlas-hadoop - args: - - HADOOP_VERSION=${HADOOP_VERSION} - image: atlas-hadoop - container_name: atlas-hadoop - hostname: atlas-hadoop.example.com - stdin_open: true - tty: true - networks: - - atlas - ports: - - "9000:9000" - - "8088:8088" - healthcheck: - test: [ "CMD-SHELL", "su hdfs -c \"/opt/hadoop/bin/hdfs dfsadmin -report | grep -q 'Live datanodes'\"" ] - interval: 30s - timeout: 10s - retries: 30 - start_period: 40s - environment: - - HADOOP_VERSION - atlas-solr: build: context: . @@ -86,4 +61,3 @@ services: timeout: 10s retries: 30 start_period: 40s - diff --git a/dev-support/atlas-docker/docker-compose.atlas-hbase.yml b/dev-support/atlas-docker/docker-compose.atlas-hbase.yml index 94747c845..0e2d5f9da 100644 --- a/dev-support/atlas-docker/docker-compose.atlas-hbase.yml +++ b/dev-support/atlas-docker/docker-compose.atlas-hbase.yml @@ -34,3 +34,7 @@ services: environment: - HBASE_VERSION - ATLAS_VERSION + +networks: + atlas: + name: atlasnw