Skip to content

Commit

Permalink
opentsdb+nginx: Docker_TAG is now passed to the Dockerfiles to assure…
Browse files Browse the repository at this point in the history
… building the correct version

Signed-off-by: Marcel Wagner <[email protected]>
  • Loading branch information
wagmarcel authored and arkocal committed Jul 2, 2019
1 parent c980672 commit a722caf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ services:
build:
context: ./oisp-frontend/public-interface/nginx
args:
- WEBSOCKET_SERVER=websocket-server:5000
- DASHBOARD_SERVER=frontend:4001
- WEBSOCKET_SERVER=${WEBSOCKET_SERVER}
- DASHBOARD_SERVER=${FRONTEND}
- DOCKER_TAG=${DOCKER_TAG}
labels:
- oisp=true
- oisp.git_commit=${GIT_COMMIT_FRONTEND}
Expand Down Expand Up @@ -277,6 +278,8 @@ services:
image: oisp/opentsdb:${DOCKER_TAG}
build:
context: ./docker-opentsdb
args:
- DOCKER_TAG=${DOCKER_TAG}
labels:
- oisp=true
- ois.git_commit=${GIT_COMMIT_OPENTSDB}
Expand Down
4 changes: 2 additions & 2 deletions docker-opentsdb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM oisp/hbase:latest
ARG DOCKER_TAG
FROM oisp/hbase:${DOCKER_TAG}

# avoid debconf and initrd
ENV DEBIAN_FRONTEND noninteractive
Expand Down
3 changes: 2 additions & 1 deletion setup-environment.example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ export KAFKA_PORT='9092'
export KAFKA_HEARTBEAT_TOPIC='heartbeat'
GEARPUMP='gearpump:8090'
BACKEND='backend:8080'
FRONTEND='frontend:4001'
export FRONTEND='frontend:4001'
NGINX='nginx'
NGINX_PORT='443'
REDIS='redis'
REDIS_PORT='6379'
export WEBSOCKET_SERVER="websocket-server:5000"

OPENTSDB_URI='opentsdb'
OPENTSDB_PORT=4242
Expand Down

0 comments on commit a722caf

Please sign in to comment.