1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00

update trino

This commit is contained in:
kev 2021-11-26 16:14:37 +08:00
parent f783dcbf4e
commit 40c496c900
4 changed files with 7 additions and 7 deletions

View File

@ -5,8 +5,7 @@ trino
distributed over one or more heterogeneous data sources.
```bash
$ mkdir -p data/{etc,var}
$ chown -R 1000:1000 data
$ mkdir -m 777 data
$ docker-compose up -d
$ docker-compose exec trino trino
>>> show catalogs;

View File

@ -1,5 +1,6 @@
#single node install config
coordinator=true
node-scheduler.include-coordinator=true
http-server.http.port=8080
discovery.uri=http://localhost:8080
web-ui.authentication.type=fixed
web-ui.user=webui

View File

@ -1,2 +1 @@
# Enable verbose logging from Trino
#io.trino=DEBUG
io.trino=INFO

View File

@ -2,9 +2,10 @@ version: "3.8"
services:
trino:
image: trinodb/trino
command: ["/usr/lib/trino/bin/launcher", "run", "--etc-dir", "etc", "--data-dir", "data"]
ports:
- "8080:8080"
volumes:
- ./data/etc:/etc/trino
- ./data/var:/var/lib/trino
- ./data:/opt/trino
working_dir: /opt/trino
restart: unless-stopped