-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 824 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (31 loc) · 824 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
25
26
27
28
29
30
31
32
33
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: integrations_hub
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 2s
timeout: 5s
retries: 10
app:
build: .
ports:
- "8000:8000"
environment:
IH_DATABASE_URL: "postgresql+asyncpg://postgres:postgres@postgres:5432/integrations_hub"
IH_DATABASE_URL_SYNC: "postgresql://postgres:postgres@postgres:5432/integrations_hub"
IH_SLACK_BOT_TOKEN: ""
IH_SLACK_DEFAULT_CHANNEL: "#integrations"
IH_LOG_LEVEL: "INFO"
depends_on:
postgres:
condition: service_healthy
volumes:
pgdata: