Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (45 loc) · 1.49 KB
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (45 loc) · 1.49 KB
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
services:
# Premiere and its authenticated CEP socket live on the host. Compose only
# runs the portable analysis backends; run the Go orchestrator and
# TypeScript bridge on the host for live editing.
rust-engine:
build:
context: .
dockerfile: Dockerfile
target: rust-runtime
command: premierpro-media-engine --port 50052
ports:
- "127.0.0.1:50052:50052"
environment:
MEDIA_ENGINE_HOST: 0.0.0.0
MEDIA_ENGINE_LOG_LEVEL: ${MEDIA_ENGINE_LOG_LEVEL:-info}
MEDIA_ENGINE_LOG_JSON: ${MEDIA_ENGINE_LOG_JSON:-false}
volumes:
- type: bind
source: ${PREMIERE_MEDIA_ROOT:-${PWD}}
target: ${PREMIERE_MEDIA_ROOT:-${PWD}}
read_only: true
- type: bind
source: ${PREMIERE_OUTPUT_ROOT:-${PWD}/outputs}
target: ${PREMIERE_OUTPUT_ROOT:-${PWD}/outputs}
python-intel:
build:
context: .
dockerfile: Dockerfile
target: python-runtime
command: python -m src.main --port 50053
working_dir: /app/python-intelligence
ports:
- "127.0.0.1:50053:50053"
environment:
PYTHONPATH: /app/gen/python:/app/python-intelligence
INTEL_GRPC_HOST: 0.0.0.0
INTEL_LOG_LEVEL: ${INTEL_LOG_LEVEL:-INFO}
volumes:
- type: bind
source: ${PREMIERE_MEDIA_ROOT:-${PWD}}
target: ${PREMIERE_MEDIA_ROOT:-${PWD}}
read_only: true
- type: bind
source: ${PREMIERE_OUTPUT_ROOT:-${PWD}/outputs}
target: ${PREMIERE_OUTPUT_ROOT:-${PWD}/outputs}