File tree Expand file tree Collapse file tree 3 files changed +9
-31
lines changed
Expand file tree Collapse file tree 3 files changed +9
-31
lines changed Original file line number Diff line number Diff line change @@ -42,24 +42,24 @@ Docker files in this folder create docker images and run them to build Apache At
4242 export COMPOSE_DOCKER_CLI_BUILD=1
4343 ~~~
4444
45- 6 . Build and deploy Apache Atlas in containers using docker- compose
45+ 6 . Build and deploy Apache Atlas in containers using docker compose
4646
4747 6.1. Build atlas-base image with the following commenr
48- docker- compose -f docker-compose.atlas-base.yml build
48+ docker compose -f docker-compose.atlas-base.yml build
4949
5050 6.2. Ensure that the ` ${HOME}/.m2 ` directory exists and Execute following command to build Apache Atlas:
5151 mkdir -p ${HOME}/.m2
52- docker- compose docker-compose.atlas-build.yml up
52+ docker compose docker-compose.atlas-build.yml up
5353
5454 Time taken to complete the build might vary (upto an hour), depending on status of ${HOME}/.m2 directory cache.
5555
5656 6.3. To install and start Atlas using Postgres as backend store, execute following commands:
5757 export ATLAS_BACKEND=postgres
58- docker- compose -f docker-compose.atlas.yml up -d --wait
58+ docker compose -f docker-compose.atlas.yml up -d --wait
5959
6060 6.4. To install and start Atlas using HBase as backend store, execute following commands:
6161 export ATLAS_BACKEND=hbase
62- docker- compose -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml up -d --wait
62+ docker compose -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml up -d --wait
6363
6464 Apache Atlas will be installed at /opt/atlas/, and logs are at /var/logs/atlas directory.
6565
Original file line number Diff line number Diff line change 11services :
2- atlas-hadoop :
3- build :
4- context : .
5- dockerfile : Dockerfile.atlas-hadoop
6- args :
7- - HADOOP_VERSION=${HADOOP_VERSION}
8- image : atlas-hadoop
9- container_name : atlas-hadoop
10- hostname : atlas-hadoop.example.com
11- stdin_open : true
12- tty : true
13- networks :
14- - atlas
15- ports :
16- - " 9000:9000"
17- - " 8088:8088"
18- healthcheck :
19- test : [ "CMD-SHELL", "su hdfs -c \"/opt/hadoop/bin/hdfs dfsadmin -report | grep -q 'Live datanodes'\"" ]
20- interval : 30s
21- timeout : 10s
22- retries : 30
23- start_period : 40s
24- environment :
25- - HADOOP_VERSION
26-
272 atlas-solr :
283 build :
294 context : .
@@ -86,4 +61,3 @@ services:
8661 timeout : 10s
8762 retries : 30
8863 start_period : 40s
89-
Original file line number Diff line number Diff line change @@ -34,3 +34,7 @@ services:
3434 environment :
3535 - HBASE_VERSION
3636 - ATLAS_VERSION
37+
38+ networks :
39+ atlas :
40+ name : atlasnw
You can’t perform that action at this time.
0 commit comments