1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-04 03:48:55 +02:00

update presto

This commit is contained in:
kev 2019-09-28 13:11:51 +08:00
parent 708ff76516
commit 004e8de70e
3 changed files with 16 additions and 3 deletions

View File

@ -4,7 +4,20 @@ presto
[Presto][1] is a distributed SQL query engine designed to query large data sets
distributed over one or more heterogeneous data sources.
## up and running
## standalone mode
```yaml
presto:
image: vimagick/presto
ports:
- "8080:8080"
volumes:
- ./conf/standalone:/opt/presto/etc:ro
- /data:/data
restart: unless-stopped
```
## cluster mode
```bash
$ ansible all -a 'mkdir -p /data'

View File

@ -1,3 +1,3 @@
node.environment=production
node.id=coordinator
node.data-dir=/data
node.id=coordinator

View File

@ -1,3 +1,3 @@
node.environment=production
node.id=standalone
node.data-dir=/data
node.id=standalone