-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (44 loc) · 962 Bytes
/
docker-compose.yaml
File metadata and controls
45 lines (44 loc) · 962 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
34
35
36
37
38
39
40
41
42
43
44
45
name: legisdefagent
services:
api:
container_name: legisdefagent-api
build:
context: .
dockerfile: docker/Dockerfile.service
ports:
- "8000:8000"
environment:
- EXISTDB_HOST=host.docker.internal
env_file:
- .env
networks:
- legisdefagent-network
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/info"]
interval: 10s
start_period: 10s
timeout: 60s
retries: 10
app:
container_name: legisdefagent-app
build:
context: .
dockerfile: docker/Dockerfile.app
ports:
- "3000:3000"
depends_on:
api:
condition: service_healthy
environment:
- API_HOST=api
env_file:
- .env
networks:
- legisdefagent-network
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
legisdefagent-network:
driver: bridge