1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00: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

@ -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'

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

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