-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
46 lines (42 loc) · 997 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3.7'
services:
trino-coordinator:
image: 'trinodb/trino:latest'
hostname: trino-coordinator
ports:
- '8080:8080'
volumes:
- ./etc:/etc/trino
networks:
- trino-network
postgres:
image: postgres:16.1
hostname: postgres
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
networks:
- trino-network
expose:
- '5432'
ports:
- '5438:5432'
volumes:
- ./sources/postgres/sql/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
- ./sources/postgres/sql/fill_tables.sql:/docker-entrypoint-initdb.d/fill_tables.sql
# mysql:
# image: mysql:latest
# hostname: mysql
# environment:
# MYSQL_ROOT_PASSWORD: admin
# MYSQL_USER: admin
# MYSQL_PASSWORD: admin
# MYSQL_DATABASE: tiny
# ports:
# - '3310:3310'
# networks:
# - trino-network
networks:
trino-network:
driver: bridge