-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (40 loc) · 1.25 KB
/
docker-compose.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
41
42
43
44
45
version: '3'
services:
web:
build: .
depends_on:
- postgres
- sqlpad
expose:
- "3000:3000"
postgres:
image: postgres
restart: always
environment:
POSTGRES_USER: sqlpad
POSTGRES_PASSWORD: sqlpad
volumes:
- ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
# sqlpad:
# # To use Dockerfile at root of this project, use build instead of image
# # build: ../../
# image: sqlpad/sqlpad:5
# hostname: 'sqlpad'
# ports:
# - '3000:3000'
# 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: Postgres demo
# SQLPAD_CONNECTIONS__pgdemo__driver: postgres
# SQLPAD_CONNECTIONS__pgdemo__host: postgres
# SQLPAD_CONNECTIONS__pgdemo__database: sqlpad
# SQLPAD_CONNECTIONS__pgdemo__username: sqlpad
# SQLPAD_CONNECTIONS__pgdemo__password: sqlpad
# SQLPAD_CONNECTIONS__pgdemo__multiStatementTransactionEnabled: 'true'
# SQLPAD_CONNECTIONS__pgdemo__idleTimeoutSeconds: 86400
# volumes:
# - ./seed-data:/etc/sqlpad/seed-data