forked from sqlpad/sqlpad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (52 loc) · 1.41 KB
/
docker-compose.yml
File metadata and controls
52 lines (52 loc) · 1.41 KB
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
47
48
49
50
51
52
# This file is for development purposes
# It runs databases supported by docker for dev/testing
# It used to have node stuff in a container,
# but the development flow got tedious, slow, and buggy.
# If there is a better way to do it Issues/Pull Requests are welcome.
#
# TODO add other supported databases where possible (crate, mssql, etc)
#
version: '3'
services:
postgres:
image: postgres:9.6-alpine
environment:
POSTGRES_USER: sqlpad
POSTGRES_DB: sqlpad
ports:
- "5432:5432"
mariadb:
image: mariadb:10.3
environment:
MYSQL_ROOT_PASSWORD: sqlpad
MYSQL_DATABASE: sqlpad
MYSQL_USER: sqlpad
MYSQL_PASSWORD: sqlpad
ports:
- "3306:3306"
# NOTE For testing use
# user: sqlpad (can be anything)
# catalog: system
# schema: metadata
# TODO move driver stuff out to separate repo for testing
# presto:
# image: johandry/presto:0.167-t.0.3-alpine
# expose:
# - "8080"
# ports:
# - "8080:8080"
# environment:
# HTTP_SERVER_PORT: 8080
# PRESTO_MAX_MEMORY: .25
# PRESTO_MAX_MEMORY_PER_NODE: .25
# PRESTO_JVM_HEAP_SIZE: 1
# links:
# - presto-worker
# presto-worker:
# image: johandry/presto:0.167-t.0.3-alpine
# environment:
# COORDINATOR: presto
# HTTP_SERVER_PORT: 8080
# PRESTO_MAX_MEMORY: .25
# PRESTO_MAX_MEMORY_PER_NODE: .25
# PRESTO_JVM_HEAP_SIZE: 1