mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-08 04:04:42 +02:00
update trino
This commit is contained in:
parent
fa920107ac
commit
fcbc7fd2cb
@ -5,7 +5,7 @@ trino
|
||||
distributed over one or more heterogeneous data sources.
|
||||
|
||||
```bash
|
||||
$ mkdir data/{etc,data}
|
||||
$ mkdir data/{etc,log}
|
||||
$ chown -R 1000:1000 data
|
||||
$ docker-compose up -d
|
||||
$ docker-compose exec trino trino
|
||||
|
12
trino/data/etc/catalog/gsheets.json.sample
Normal file
12
trino/data/etc/catalog/gsheets.json.sample
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "service_account",
|
||||
"project_id": "",
|
||||
"private_key_id": "",
|
||||
"private_key": "",
|
||||
"client_email": "",
|
||||
"client_id": "",
|
||||
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|
||||
"token_uri": "https://oauth2.googleapis.com/token",
|
||||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
|
||||
"client_x509_cert_url": ""
|
||||
}
|
3
trino/data/etc/catalog/gsheets.properties.sample
Normal file
3
trino/data/etc/catalog/gsheets.properties.sample
Normal file
@ -0,0 +1,3 @@
|
||||
connector.name=gsheets
|
||||
credentials-path=/usr/lib/trino/etc/catalog/gsheets.json
|
||||
metadata-sheet-id=1EJ-AxiDpZ287XHO9nD0YS9pMgSFzjhUDEIEWGgl_dqE
|
0
trino/data/log/.gitkeep
Normal file
0
trino/data/log/.gitkeep
Normal file
@ -7,6 +7,6 @@ services:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./data/etc:/usr/lib/trino/etc
|
||||
- ./data/data:/usr/lib/trino/data
|
||||
- ./data/log:/usr/lib/trino/data/var/log
|
||||
working_dir: /usr/lib/trino
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user