Last active
February 25, 2021 18:25
-
-
Save peterroelants/41ca47634fb4ba15795b85f8dea5f038 to your computer and use it in GitHub Desktop.
Alluxio glasfish error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Alluxio Docker Deployment | |
# Based on "Using User-Defined Network" configuration from: | |
# https://docs.alluxio.io/os/user/stable/en/deploy/Running-Alluxio-On-Docker.html | |
version: '3.8' | |
networks: | |
alluxio_network: | |
name: alluxio_network | |
driver: bridge | |
# docker-compose --file ./tutorial/alluxio.tutorial.hub.docker_network.compose.yml up | |
services: | |
alluxio-master: | |
image: alluxio/alluxio | |
container_name: alluxio-master | |
volumes: | |
- /tmp/alluxio_ufs:/opt/alluxio/underFSStorage | |
environment: | |
ALLUXIO_JAVA_OPTS: >- | |
-Dalluxio.master.hostname=alluxio-master | |
-Dalluxio.master.mount.table.root.ufs=/opt/alluxio/underFSStorage | |
networks: | |
- alluxio_network | |
ports: | |
# Master web UI port | |
- "19999:19999" | |
# Master RPC port | |
- "19998:19998" | |
command: master | |
# Use Master REST API to check if up | |
# https://docs.alluxio.io/os/restdoc/stable/master/index.html | |
healthcheck: | |
test: wget --spider http://alluxio-master:19999/api/v1/master/info &>/dev/null || exit 1 | |
interval: 5s | |
timeout: 5s | |
retries: 30 | |
start_period: 15s | |
restart: unless-stopped | |
alluxio-worker: | |
image: alluxio/alluxio | |
container_name: alluxio-worker | |
# Increase shared memory | |
shm_size: '1gb' | |
volumes: | |
- /tmp/alluxio_ufs:/opt/alluxio/underFSStorage | |
environment: | |
ALLUXIO_JAVA_OPTS: >- | |
-Dalluxio.worker.ramdisk.size=1G | |
-Dalluxio.master.hostname=alluxio-master | |
-Dalluxio.worker.hostname=alluxio-worker | |
networks: | |
- alluxio_network | |
ports: | |
# Worker RPC port | |
- "29999:29999" | |
# Worker web UI port | |
- "30000:30000" | |
command: worker | |
# Use Worker REST API to check if up | |
# https://docs.alluxio.io/os/restdoc/stable/worker/index.html | |
healthcheck: | |
test: wget --spider http://alluxio-worker:30000/api/v1/worker/info &>/dev/null || exit 1 | |
interval: 5s | |
timeout: 5s | |
retries: 30 | |
start_period: 5s | |
depends_on: | |
alluxio-master: | |
condition: service_healthy | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment