From 2c183de14333c3df96507ce28c164c5d36673554 Mon Sep 17 00:00:00 2001 From: "Eran (ev672n), Vosk" Date: Wed, 8 Aug 2018 12:08:49 +0300 Subject: Remove ATT files Remove ATT files Change-Id: I160923f098ca4825c3575804560348a49bb32f2a Issue-ID: SDC-1619 Signed-off-by: Eran (ev672n), Vosk --- README.md | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md deleted file mode 100644 index d6bd195..0000000 --- a/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# Composition -Composition Refactoring - -## Docker Build -```sh -$ docker login -u -p -$ mkdir -p docker/target -$ cp dcaedt_be/target/dcae.war docker/target/dcae.war -$ cd docker -$ docker build --no-cache -t dcaed-be -f Dockerfile . -``` -## Environment Configuration -The environment file must include the following new definition under "override_attributes": - ``"SDC": { - "BE":{ - "fqdn" : "zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com" - } - },`` -The environment json file should be injected into the docker by one of the following ways: -1. Place the json file under ```:/data/environments```. - Run the docker with volume: - ```--volume /data/environments:/root/chef-solo/environments``` -2. Use ``docker cp`` to copy the json file into the docker ```/root/chef-solo/environments``` -## Docker Run -```sh -$ docker run -dit -p 8444:8444 --restart="always" --name=dcaed-be \ - --env ENVNAME= \ - --env JAVA_OPTIONS="-XX:MaxPermSize=256m -Xmx4713m \ - -Dconfig.home=\${JETTY_BASE}/config \ - -Dlog.home=/opt/logs/be \ - -Dlogging.config=\${JETTY_BASE}/config/dcae-be/logback-spring.xml" \ - [ --volume /data/environments:/root/chef-solo/environments ] \ - dcaed-be:latest \ - /bin/sh -``` -- cgit 1.2.3-korg