-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 910 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 910 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
38
39
40
41
42
43
44
services:
processor:
build:
context: deploy/
dockerfile: Dockerfile
container_name: rs_video_processor
depends_on:
db:
condition: service_healthy
environment:
DB_HOST: db
DB_NAME: richmondsunlight
DB_USER: ricsun
DB_PASS: password
volumes:
- type: bind
source: .
target: /root/video-processor/
networks:
- rs_video_network
working_dir: /root/video-processor
command: tail -f /dev/null
db:
build:
context: deploy/
dockerfile: MySQL.Dockerfile
container_name: rs_video_processor_db
volumes:
- db_data:/var/lib/mariadb/
networks:
- rs_video_network
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
start_period: 30s
interval: 10s
timeout: 5s
retries: 3
networks:
rs_video_network:
volumes:
db_data: