Created
September 20, 2023 16:15
-
-
Save arthurd2/430b5ef1b5083eb52a9ec7308e7e92aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.5" | |
services: | |
trino: | |
image: trinodb/trino:426 | |
depends_on: | |
- postgresql | |
- mongodb | |
ports: | |
- 8080:8080 | |
configs: | |
- source: ceos-trinio-mongodb | |
target: /etc/trino/catalog/mongodb.properties | |
- source: ceos-trinio-postgresql | |
target: /etc/trino/catalog/postgresql.properties | |
postgresql: | |
image: postgres:15-alpine | |
environment: | |
POSTGRES_DB: xxx | |
POSTGRES_USER: xxx | |
POSTGRES_PASSWORD: xxx | |
volumes: | |
- pgsql:/var/lib/postgresql/data | |
mongodb: | |
image: mongo:6 | |
volumes: | |
- mongodb:/data/db | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: xxx | |
MONGO_INITDB_ROOT_PASSWORD: xxx | |
volumes: | |
pgsql: | |
mongodb: | |
configs: | |
ceos-trinio-postgresql: | |
external: true | |
ceos-trinio-mongodb: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment