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
641 views
1
version: '3.8'
2
3
services:
4
alpr:
5
image: platerecognizer/alpr
6
container_name: alpr
7
restart: unless-stopped
8
ports:
9
- "8080:8080"
10
healthcheck:
11
test: ["CMD", "curl", "-f", "http://alpr:8080"]
12
interval: 10s
13
timeout: 5s
14
retries: 5
15
volumes:
16
- license:/license
17
env_file:
18
- ./env.txt
19
20
skew_correction:
21
image: platerecognizer/skew-correction
22
container_name: skew_correction
23
depends_on:
24
alpr:
25
condition: service_healthy
26
ports:
27
- "8001:8001"
28
environment:
29
- SDK_URL=http://alpr:8080
30
env_file:
31
- ./env.txt
32
33
video_editor:
34
build:
35
context: .
36
dockerfile: Dockerfile
37
container_name: video_editor
38
depends_on:
39
- alpr
40
- skew_correction
41
ports:
42
- "8081:8081"
43
environment:
44
- SDK_URL=http://alpr:8080
45
- BLUR_URL=http://skew_correction:8001
46
env_file:
47
- ./env.txt
48
volumes:
49
- ./output:/user-data
50
51
volumes:
52
license:
53
external: true
54
55