Skip to content

Instantly share code, notes, and snippets.

@jorgealarcon
Created October 4, 2019 14:32
Show Gist options
  • Save jorgealarcon/d919536e29b4fb8e8aafc95c1980dad8 to your computer and use it in GitHub Desktop.
Save jorgealarcon/d919536e29b4fb8e8aafc95c1980dad8 to your computer and use it in GitHub Desktop.
Dremio 3.3 with CORS enabled
version: '2'
services:
dremio:
image: dremio/dremio-oss:3.3
container_name: dremio
#volumes:
#- dremio-local:/opt/dremio3/data
ports:
- 9047:9047
- 31010:31010
- 45678:45678
restart: always
nginx:
image: shakyshane/nginx-cors-plus
container_name: nginx
ports:
- 8090:80
environment:
- TARGET=http://dremio:9047
depends_on:
- dremio
restart: always
volumes:
dremio-local:
driver: local
@jorgealarcon
Copy link
Author

jorgealarcon commented Oct 4, 2019

Instructions

  • Install Docker. Instructions to do it on Mac: https://docs.docker.com/docker-for-mac/install/
  • Use the "Download ZIP" button above to download the content of this gist
  • Expand the downloaded ZIP file and using your terminal navigate to that folder
  • Execute the following command on your terminal:
docker-compose -f dremio-33.yml up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment