-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (49 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
53 lines (49 loc) · 1.11 KB
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
services:
mosquitto:
image: integration-mosquitto:latest
container_name: integration-mosquitto
build:
context: .
dockerfile: Dockerfile.mosquitto
ports:
- "1883:1883"
networks:
- app_network
postgres:
image: postgres:17.2-alpine3.21
container_name: integration-postgres
environment:
POSTGRES_USER: hurtec
POSTGRES_PASSWORD: hurtec
POSTGRES_DB: hurtec
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hurtec"]
interval: 5s
timeout: 5s
retries: 5
networks:
- app_network
combined_app:
image: integration-combined_app:latest
container_name: integration-combined_app
build:
context: .
dockerfile: Dockerfile.combined
ports:
- "8088:8088"
depends_on:
postgres:
condition: service_healthy
environment:
DATABASE_URL: postgresql://hurtec:hurtec@postgres/hurtec
MOCK_MODE: "true"
networks:
- app_network
networks:
app_network:
volumes:
postgres_data: