-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (32 loc) · 778 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (32 loc) · 778 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
version: "3.8"
services:
redis:
image: redis:7-alpine
ports:
- "6380:6379"
command: redis-server --requirepass a2alaw-dev --maxmemory 128mb --maxmemory-policy allkeys-lru
volumes:
- redis-data:/data
restart: unless-stopped
postgres:
image: pgvector/pgvector:pg16
environment:
POSTGRES_DB: a2alaw
POSTGRES_USER: a2alaw
POSTGRES_PASSWORD: a2alaw-dev
ports:
- "5433:5432"
volumes:
- pg-data:/var/lib/postgresql/data
restart: unless-stopped
opa:
image: openpolicyagent/opa:latest-static
ports:
- "8181:8181"
command: run --server --log-level info /policies
volumes:
- ./safety/opa_policies:/policies
restart: unless-stopped
volumes:
redis-data:
pg-data: