-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-sqlpad.yml
40 lines (38 loc) · 1.73 KB
/
docker-compose-sqlpad.yml
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
version: '3.8'
services:
sqlpad:
image: sqlpad/sqlpad:6
container_name: sqlpad
restart: unless-stopped
ports:
- "${SQLPAD_PORT_EXTERNAL}:${SQLPAD_PORT_INTERNAL}"
environment:
SQLPAD_ADMIN: "[email protected]"
SQLPAD_ADMIN_PASSWORD: "admin"
SQLPAD_APP_LOG_LEVEL: debug
SQLPAD_WEB_LOG_LEVEL: warn
SQLPAD_SEED_DATA_PATH: /etc/sqlpad/seed-data
# SQLPAD_CONNECTIONS__pgdemo__name: metabase
# SQLPAD_CONNECTIONS__pgdemo__driver: postgres
# SQLPAD_CONNECTIONS__pgdemo__host: ${POSTGRES_METABASE_CONTAINER_NAME}
# SQLPAD_CONNECTIONS__pgdemo__database: ${POSTGRES_METABASE_DATABASE}
# SQLPAD_CONNECTIONS__pgdemo__username: ${POSTGRES_METABASE_USERNAME}
# SQLPAD_CONNECTIONS__pgdemo__password: ${POSTGRES_METABASE_PASSWORD}
# SQLPAD_CONNECTIONS__pgdemo__multiStatementTransactionEnabled: "true"
# SQLPAD_CONNECTIONS__pgdemo__idleTimeoutSeconds: 86400
SQLPAD_CONNECTIONS__materialized__name: materialized
SQLPAD_CONNECTIONS__materialized__driver: postgres
SQLPAD_CONNECTIONS__materialized__host: ${MATERIALIZED_CONTAINER_NAME}
SQLPAD_CONNECTIONS__materialized__port: ${MATERIALIZED_PORT_DB_INTERNAL}
SQLPAD_CONNECTIONS__materialized__database: ${MATERIALIZED_DATABASE}
SQLPAD_CONNECTIONS__materialized__username: ${MATERIALIZED_USERNAME}
SQLPAD_CONNECTIONS__materialized__password: ${MATERIALIZED_PASSWORD}
SQLPAD_CONNECTIONS__materialized__multiStatementTransactionEnabled: "true"
SQLPAD_CONNECTIONS__materialized__idleTimeoutSeconds: 86400
volumes:
- sqlpad:/etc/sqlpad/seed-data
depends_on:
metabase-postgres:
condition: service_healthy
volumes:
sqlpad: