-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (58 loc) · 1.07 KB
/
docker-compose.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
56
57
58
59
60
61
62
63
64
version: '3.3'
networks:
default:
ipam:
driver: default
config:
- subnet: 192.168.37.0/24
services:
core:
build:
context: ./docker/core
depends_on:
- redis
- mongo
ports:
- 12321:12321
env_file:
- docker/env
environment:
- REDIS_IP=redis
- MONGO_IP=mongo
- SELENIUM_IP=selenium
- CORE_IP=core
volumes:
- .:/mdvd/
worker:
build:
context: ./docker/worker
env_file:
- docker/env
environment:
- REDIS_IP=redis
- MONGO_IP=mongo
- SELENIUM_IP=selenium
- CORE_IP=core
depends_on:
- core
- selenium
volumes:
- .:/mdvd/
selenium:
image: selenium/standalone-chrome:latest
volumes:
- /dev/shm:/dev/shm
environment:
- JAVA_OPTS=-Dselenium.LOGGER.level=WARNING
mongo:
image: mongo:latest
volumes:
- ./docker/lib/mongo:/data/
env_file:
- docker/env
redis:
image: redis:latest
volumes:
- ./docker/lib/redis:/data/
env_file:
- docker/env