-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-server.yml
55 lines (49 loc) · 1.22 KB
/
docker-compose-server.yml
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
47
48
49
50
51
52
53
54
55
version: "3.8"
name: finalrip
networks:
backend:
driver: bridge
services:
dashboard:
image: lychee0/finalrip-dashboard:latest
container_name: finalrip-dashboard
restart: always
ports:
- "8989:80"
networks:
- backend
server:
image: lychee0/finalrip-server:latest
container_name: finalrip-server
restart: always
ports:
- "8848:8848"
environment:
- FINALRIP_REMOTE_CONFIG_HOST=consul:8500
# override the remote config by env
- FINALRIP_DB_HOST=mongodb
- FINALRIP_REDIS_HOST=redis
networks:
- backend
worker-cut:
image: lychee0/finalrip-worker-cut:latest
container_name: finalrip-worker-cut
restart: always
environment:
- FINALRIP_REMOTE_CONFIG_HOST=consul:8500
- FINALRIP_DB_HOST=mongodb
- FINALRIP_REDIS_HOST=redis
- FINALRIP_OSS_ENDPOINT=oss:9000
networks:
- backend
worker-merge:
image: lychee0/finalrip-worker-merge:latest
container_name: finalrip-worker-merge
restart: always
environment:
- FINALRIP_REMOTE_CONFIG_HOST=consul:8500
- FINALRIP_DB_HOST=mongodb
- FINALRIP_REDIS_HOST=redis
- FINALRIP_OSS_ENDPOINT=oss:9000
networks:
- backend