This is an automated email from the ASF dual-hosted git repository. chengpan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 90780447af [ZEPPELIN-6032] Provide docker-compose-zeppelin-only.yml file for quick start (#4776) 90780447af is described below commit 90780447af621bdc8c4cb7893359f7dac84e9e43 Author: Gyeongtae Park <67095975+parkgyeong...@users.noreply.github.com> AuthorDate: Mon Aug 26 21:55:45 2024 +0900 [ZEPPELIN-6032] Provide docker-compose-zeppelin-only.yml file for quick start (#4776) * [ZEPPELIN-6032] Add files: docker-compose.yml, .env.template * [ZEPPELIN-6032] Fix ZEPPELIN_IMAGE_TAG and docker-compose filename * [ZEPPELIN-6032] Add README.md * [ZEPPELIN-6032] Add Apache License to .env.template * [ZEPPELIN-6037] Unify the ZeppelinConfiguration variable to zConf in all files * Revert "[ZEPPELIN-6037] Unify the ZeppelinConfiguration variable to zConf in all files" This reverts commit 8d5b3c59b7b8496b5b0366f081c404345be7b18f. * [ZEPPELIN-6032] Moving docker compose file * [ZEPPELIN-6032] Change the docker-compose command to docker compose * [ZEPPELIN-6032] Remove the version from the YAML file --- scripts/docker/zeppelin-quick-start/README.md | 29 ++++++++++++++++++++++ .../docker-compose-zeppelin-only.yml | 26 +++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/scripts/docker/zeppelin-quick-start/README.md b/scripts/docker/zeppelin-quick-start/README.md new file mode 100644 index 0000000000..9add44910a --- /dev/null +++ b/scripts/docker/zeppelin-quick-start/README.md @@ -0,0 +1,29 @@ +# Apache Zeppelin Quickstart with Docker Compose + +## Getting Started + +### Install Docker +Please go to [install](https://www.docker.com/) to install Docker. + +### Zeppelin Only +#### Run docker-compose +```bash +docker compose -f docker-compose-zeppelin-only.yml up +``` + +#### Stop docker-compose +```bash +docker compose -f docker-compose-zeppelin-only.yml stop +``` + +### Apache Zeppelin Environment Variables +- Please check the [link](https://zeppelin.apache.org/docs/0.11.1/setup/operation/configuration.html) for more details +```dockerfile + environment: + ZEPPELIN_ADDR: 127.0.0.1 # Zeppelin server binding address + ZEPPELIN_PORT: 8080 # Zeppelin server port + ZEPPELIN_SSL_PORT: 8443 # Zeppelin Server ssl port + ZEPPELIN_JMX_ENABLE: false # Enable JMX by defining "true" + ZEPPELIN_JMX_PORT: 9996 # Port number which JMX uses + ZEPPELIN_MEM: -Xmx1024m -XX:MaxMetaspaceSize=512m # JVM mem options +``` diff --git a/scripts/docker/zeppelin-quick-start/docker-compose-zeppelin-only.yml b/scripts/docker/zeppelin-quick-start/docker-compose-zeppelin-only.yml new file mode 100644 index 0000000000..e56538f408 --- /dev/null +++ b/scripts/docker/zeppelin-quick-start/docker-compose-zeppelin-only.yml @@ -0,0 +1,26 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# 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. +# +services: + zeppelin-server: + hostname: zeppelin + container_name: zeppelin + image: apache/zeppelin:0.11.2 + ports: + - "8080:8080" + environment: + ZEPPELIN_PORT: 8080 + ZEPPELIN_MEM: -Xmx1024m -XX:MaxMetaspaceSize=512m