-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (32 loc) · 888 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (32 loc) · 888 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
# Do we want a separate dockerfile now that we're including SQLite? There's no prebuilt image for it...
# Update: I included one just in case, we don't have to use it - Vivek
version: "3.9"
services:
db:
image: postgres:16-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=myuser
- POSTGRES_PASSWORD=mypassword
cache:
image: redis:7-alpine
ports:
- "6379:6379"
mq:
image: rabbitmq:3-management-alpine
ports:
- "5672:5672" # AMQP port
- "15672:15672" # Management UI port
mission-control:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./sqlite_data:/app/sqlite_data # persist SQLite DB file
environment:
- SQLITE_DB_PATH=/app/sqlite_data/mission_control.db # temp path for now, we can change
depends_on:
- cache