mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +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.
|
||||
|
||||
```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;
|
||||
|
@ -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
|
||||
|
@ -1,2 +1 @@
|
||||
# Enable verbose logging from Trino
|
||||
#io.trino=DEBUG
|
||||
io.trino=INFO
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user