This repository has been archived by the owner on Dec 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
71 lines (67 loc) · 1.97 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "3.0"
services:
db:
image: postgres:12
volumes:
- postgres:/var/lib/postgresql/data
- ./postgres_scripts:/docker-entrypoint-initdb.d
ports:
- "6432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_MULTIPLE_DATABASES=flaskr,fidesctl,fidesops
fidesctl:
image: ethyca/fidesctl:1.8.4
depends_on:
- db
command: fidesctl webserver
expose:
- 9090
ports:
- "9090:8080"
environment:
- FIDESCTL__API__DATABASE_USER=postgres
- FIDESCTL__API__DATABASE_PASSWORD=postgres
- FIDESCTL__API__DATABASE_HOST=db
- FIDESCTL__API__DATABASE_PORT=5432
- FIDESCTL__API__DATABASE_NAME=fidesctl
redis:
image: "redis:6.2.5-alpine"
command: redis-server --requirepass redispass
expose:
- 7379
ports:
- "7379:6379"
fidesops:
build: ./fidesops
image: ethyca/fidesops-demo
depends_on:
- db
- redis
volumes:
- ./fides_tmp:/fidesops/fides_uploads
expose:
- 8080
- 3000
- 4000
ports:
- "8080:8080"
- "3000:3000"
- "4000:4000"
environment:
- FIDESOPS__SECURITY__APP_ENCRYPTION_KEY=OLMkv91j8DHiDAULnK5Lxx3kSCov30b3
- FIDESOPS__SECURITY__OAUTH_ROOT_CLIENT_ID=fidesopsadmin
- FIDESOPS__SECURITY__OAUTH_ROOT_CLIENT_SECRET=fidesopsadminsecret
- FIDESOPS__SECURITY__CORS_ORIGINS="http://localhost,http://localhost:4000,http://localhost:3000,http://localhost:8080,http://localhost:3001"
- FIDESOPS__DATABASE__SERVER=db
- FIDESOPS__DATABASE__USER=postgres
- FIDESOPS__DATABASE__PASSWORD=postgres
- FIDESOPS__DATABASE__DB=fidesops
- FIDESOPS__DATABASE__PORT=5432
- FIDESOPS__REDIS__HOST=redis
- FIDESOPS__REDIS__PORT=6379
- FIDESOPS__REDIS__PASSWORD=redispass
- FIDESOPS__EXECUTION__REQUIRE_MANUAL_REQUEST_APPROVAL=${FIDESOPS__EXECUTION__REQUIRE_MANUAL_REQUEST_APPROVAL:-True}
volumes:
postgres: