-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
24 lines (23 loc) · 721 Bytes
/
compose.yml
File metadata and controls
24 lines (23 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
db:
image: dannyma/psql-docker:latest
environment:
POSTGRES_HOST_AUTH_METHOD: 'trust'
sqlpad:
platform: linux/amd64
image: sqlpad/sqlpad:7.1.3
depends_on:
- db
ports:
- "3000:3000"
environment:
SQLPAD_AUTH_DISABLED: 'true'
SQLPAD_AUTH_DISABLED_DEFAULT_ROLE: 'admin'
SQLPAD_APP_LOG_LEVEL: debug
SQLPAD_WEB_LOG_LEVEL: warn
SQLPAD_CONNECTIONS__psql__name: psql
SQLPAD_CONNECTIONS__psql__driver: postgres
SQLPAD_CONNECTIONS__psql__host: db
SQLPAD_CONNECTIONS__psql__username: postgres
SQLPAD_CONNECTIONS__psql__multiStatementTransactionEnabled: 'true'
SQLPAD_CONNECTIONS__psql__idleTimeoutSeconds: 86400