-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
66 lines (61 loc) · 1.91 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3"
services:
##################
### NDC Connectors
##################
ndc-connector-oracle:
image: ghcr.io/hasura/ndc-jvm-oracle:${IMAGE_TAG_ORACLE}
build:
context: "./"
dockerfile: "ndc-connector-oracle.dockerfile"
args:
- JOOQ_PRO_EMAIL=${JOOQ_PRO_EMAIL}
- JOOQ_PRO_LICENSE=${JOOQ_PRO_LICENSE}
ports:
- 8081:8080
volumes:
- ./ndc-connector-oracle/configuration.json:/etc/connector/configuration.json
ndc-connector-mysql:
image: ghcr.io/hasura/ndc-jvm-mysql:${IMAGE_TAG_MYSQL}
build:
context: "./"
dockerfile: "ndc-connector-mysql.dockerfile"
ports:
- 8082:8080
volumes:
- ./ndc-connector-mysql/configuration.json:/etc/connector/configuration.json
ndc-connector-snowflake:
image: ghcr.io/hasura/ndc-jvm-snowflake:${IMAGE_TAG_SNOWFLAKE}
build:
context: "./"
dockerfile: "ndc-connector-snowflake.dockerfile"
args:
- JOOQ_PRO_EMAIL=${JOOQ_PRO_EMAIL}
- JOOQ_PRO_LICENSE=${JOOQ_PRO_LICENSE}
ports:
- 8083:8080
volumes:
- ./ndc-connector-snowflake/configuration.json:/etc/connector/configuration.json
##################
### Databases
##################
# JDBC url = jdbc:oracle:thin:@//host.docker.internal:1521/XE?user=chinook&password=Password123
oracle:
image: gvenzl/oracle-xe:21.3.0-slim
restart: always
environment:
ORACLE_PASSWORD: Password123
ports:
- "1521:1521"
volumes:
- ./docker/oracle/chinook.sql:/container-entrypoint-initdb.d/chinook.sql
# JDBC url = jdbc:mysql://mysql:3306/Chinook?user=root&password=Password123
mysql:
image: mysql:8.4
restart: always
environment:
MYSQL_ROOT_PASSWORD: Password123
ports:
- "3306:3306"
volumes:
- ./docker/mysql/chinook.sql:/docker-entrypoint-initdb.d/chinook.sql