-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (52 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
55 lines (52 loc) · 1.1 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
47
48
49
50
51
52
53
54
55
services:
pptr:
image: gouflv/sspc-pptr:1.0.17-bundle
container_name: pptr
init: true
volumes:
- ./logs/pptr:/app/logs
environment:
- NODE_ENV=production
restart: unless-stopped
ports:
- "3000:3000"
deploy:
resources:
limits:
cpus: "4.0"
memory: 8G
networks:
- sspc-network
redis:
image: redis:7-alpine
container_name: redis
volumes:
- ./data/redis:/data
command: ["redis-server", "--save", "60", "1"]
restart: unless-stopped
ports:
- "6379:6379"
networks:
- sspc-network
queue:
image: gouflv/sspc-queue:1.1.3
container_name: queue
volumes:
- ./data/queue:/app/data
- ./logs/queue:/app/logs
environment:
- NODE_ENV=production
- REDIS_URL=redis://redis:6379
- CAPTURE_ENDPOINT=http://pptr:3000/capture
- CAPTURE_CONCURRENCY=4
- COMPRESS_CONCURRENCY=4
env_file:
- ./.env
restart: unless-stopped
ports:
- "3001:3001"
networks:
- sspc-network
networks:
sspc-network:
driver: bridge