Skip to content

Commit

Permalink
added hue
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelePasini committed Jul 30, 2024
1 parent 1f6021e commit 66b736d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dataplatform/.env
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ ZOO1PORT=2181
ZOO2PORT=2182
ZOO3PORT=2183

### HUE ###
HUECONFDIR=/desktop/conf/
HUEPORT=8888
# FIWARE
FIWARE_PORT=48082

Expand Down
36 changes: 36 additions & 0 deletions dataplatform/multiple_stacks/hue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '3.9'

services:
hue:
image: gethue/hue:latest
ports:
- ${HUEPORT}:${HUEPORT}
volumes:
- hadoop_config:${HADOOPCONFDIR}
- hue_config:${HUECONFDIR}
deploy:
placement:
constraints:
- node.hostname != CB-Mass-Node1
networks:
- BIG-dataplatform-network

volumes:
hadoop_config:
driver: local
driver_opts:
type: nfs
o: addr=${NFSADDRESS},rw,nfsvers=4,nolock,hard
device: ":${NFSPATH}/dataplatform_config/hadoop_conf/"

hue_config:
driver: local
driver_opts:
type: nfs
o: addr=${NFSADDRESS},rw,nfsvers=4,nolock,hard
device: ":${NFSPATH}/dataplatform_config/hue_conf/"

networks:
BIG-dataplatform-network:
external: true
name: BIG-dataplatform-network

0 comments on commit 66b736d

Please sign in to comment.