mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-06 03:54:48 +02:00
update presto
This commit is contained in:
parent
708ff76516
commit
004e8de70e
@ -4,7 +4,20 @@ presto
|
|||||||
[Presto][1] is a distributed SQL query engine designed to query large data sets
|
[Presto][1] is a distributed SQL query engine designed to query large data sets
|
||||||
distributed over one or more heterogeneous data sources.
|
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
|
```bash
|
||||||
$ ansible all -a 'mkdir -p /data'
|
$ ansible all -a 'mkdir -p /data'
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
node.environment=production
|
node.environment=production
|
||||||
node.id=coordinator
|
|
||||||
node.data-dir=/data
|
node.data-dir=/data
|
||||||
|
node.id=coordinator
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
node.environment=production
|
node.environment=production
|
||||||
node.id=standalone
|
|
||||||
node.data-dir=/data
|
node.data-dir=/data
|
||||||
|
node.id=standalone
|
||||||
|
Loading…
Reference in New Issue
Block a user