forked from ethyca/fides
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
53 lines (50 loc) · 1.02 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
46
47
48
49
50
51
52
53
services:
fidesctl:
image: ethyca/fidesctl:local
command: uvicorn --host 0.0.0.0 --port 8080 --reload fidesapi.main:app
healthcheck:
test: [ "CMD", "curl", "-f", "http://0.0.0.0:8080/health" ]
interval: 5s
timeout: 5s
retries: 5
depends_on:
fidesctl-db:
condition: service_healthy
expose:
- 8080
ports:
- "8080:8080"
volumes:
- type: bind
source: .
target: /fides
read_only: False
env_file:
- env_files/fidesctl.env
fidesctl-db:
image: postgres:12
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 5s
timeout: 5s
retries: 5
volumes:
- postgres:/var/lib/postgresql/data
expose:
- 5432
ports:
- "5432:5432"
env_file:
- env_files/db.env
docs:
build:
context: docs/fides/
volumes:
- ./docs/fides:/docs
- ./fidesctl:/fidesctl
expose:
- 8000
ports:
- "8000:8000"
volumes:
postgres: null