mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-06 23:26:17 +02:00
update trino
This commit is contained in:
parent
f783dcbf4e
commit
40c496c900
@ -5,8 +5,7 @@ trino
|
|||||||
distributed over one or more heterogeneous data sources.
|
distributed over one or more heterogeneous data sources.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mkdir -p data/{etc,var}
|
$ mkdir -m 777 data
|
||||||
$ chown -R 1000:1000 data
|
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
$ docker-compose exec trino trino
|
$ docker-compose exec trino trino
|
||||||
>>> show catalogs;
|
>>> show catalogs;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#single node install config
|
|
||||||
coordinator=true
|
coordinator=true
|
||||||
node-scheduler.include-coordinator=true
|
node-scheduler.include-coordinator=true
|
||||||
http-server.http.port=8080
|
http-server.http.port=8080
|
||||||
discovery.uri=http://localhost:8080
|
discovery.uri=http://localhost:8080
|
||||||
|
web-ui.authentication.type=fixed
|
||||||
|
web-ui.user=webui
|
||||||
|
@ -1,2 +1 @@
|
|||||||
# Enable verbose logging from Trino
|
io.trino=INFO
|
||||||
#io.trino=DEBUG
|
|
||||||
|
@ -2,9 +2,10 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
trino:
|
trino:
|
||||||
image: trinodb/trino
|
image: trinodb/trino
|
||||||
|
command: ["/usr/lib/trino/bin/launcher", "run", "--etc-dir", "etc", "--data-dir", "data"]
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/etc:/etc/trino
|
- ./data:/opt/trino
|
||||||
- ./data/var:/var/lib/trino
|
working_dir: /opt/trino
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user