Skip to content

Instantly share code, notes, and snippets.

@jorgealarcon
Created October 4, 2019 14:39
Show Gist options
  • Save jorgealarcon/a2dcf4a804b1d242c3fcfefdd89442e4 to your computer and use it in GitHub Desktop.
Save jorgealarcon/a2dcf4a804b1d242c3fcfefdd89442e4 to your computer and use it in GitHub Desktop.
Dremio (latest) with CORS enabled
version: '2'
services:
dremio:
image: dremio/dremio-oss
container_name: dremio
#volumes:
#- dremio-local:/opt/dremio/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 up

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