Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
parkpow
GitHub Repository: parkpow/deep-license-plate-recognition
Path: blob/master/video-editor/docker-compose.yml
1085 views
1
2
services:
3
alpr:
4
image: platerecognizer/alpr
5
container_name: alpr
6
restart: unless-stopped
7
ports:
8
- "8080:8080"
9
healthcheck:
10
test: ["CMD", "curl", "-f", "http://alpr:8080"]
11
interval: 10s
12
timeout: 5s
13
retries: 5
14
volumes:
15
- license:/license
16
env_file:
17
- ./env.txt
18
19
skew_correction:
20
image: platerecognizer/skew-correction
21
container_name: skew_correction
22
depends_on:
23
alpr:
24
condition: service_healthy
25
ports:
26
- "8001:8001"
27
environment:
28
- SDK_URL=http://alpr:8080
29
env_file:
30
- ./env.txt
31
32
video_editor:
33
build:
34
context: .
35
dockerfile: Dockerfile
36
container_name: video_editor
37
depends_on:
38
- alpr
39
- skew_correction
40
ports:
41
- "8081:8081"
42
environment:
43
- SDK_URL=http://alpr:8080
44
- BLUR_URL=http://skew_correction:8001
45
env_file:
46
- ./env.txt
47
volumes:
48
- ./output:/user-data
49
50
volumes:
51
license:
52
external: true
53
54