-
Notifications
You must be signed in to change notification settings - Fork 76
/
docker-compose-full-dev-with-volumes-test.yml
executable file
·99 lines (90 loc) · 2.38 KB
/
docker-compose-full-dev-with-volumes-test.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
x-pod-volumes: &pod-volumes
- .:/usr/src/app
x-elasticsearch-volumes: &elasticsearch-volumes
- ./dockerfile-dev-with-volumes/config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
services:
pod-back:
container_name: pod-back-with-volumes
hostname: pod.localhost
build:
context: .
dockerfile: dockerfile-dev-with-volumes/pod-back/Dockerfile
depends_on:
- elasticsearch
- redis
env_file:
- ./.env.dev
ports:
- 8000:8000
volumes: *pod-volumes
pod-encode:
container_name: pod-encode-with-volumes
hostname: pod-encode.localhost
build:
context: .
dockerfile: dockerfile-dev-with-volumes/pod-encode/Dockerfile
depends_on:
- pod-back
env_file:
- ./.env.dev
volumes: *pod-volumes
pod-transcript:
container_name: pod-transcript-with-volumes
hostname: pod-transcript.localhost
build:
context: .
dockerfile: dockerfile-dev-with-volumes/pod-transcript/Dockerfile
depends_on:
- pod-back
env_file:
- ./.env.dev
volumes: *pod-volumes
pod-xapi:
container_name: pod-xapi-with-volumes
hostname: pod-xapi.localhost
build:
context: .
dockerfile: dockerfile-dev-with-volumes/pod-xapi/Dockerfile
depends_on:
- pod-back
env_file:
- ./.env.dev
volumes: *pod-volumes
elasticsearch:
container_name: elasticsearch-with-volumes
hostname: elasticsearch.localhost
build:
context: .
dockerfile: dockerfile-dev-with-volumes/elasticsearch/dockerfile-elasticsearch-dev
ports:
- 9200:9200
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
volumes: *elasticsearch-volumes
redis:
container_name: redis-with-volumes
hostname: redis.localhost
image: ${REDIS_TAG}
env_file:
- ./.env.dev
ports:
- 6379:6379
pa11y-ci:
container_name: pa11y-ci
build:
context: .
dockerfile: dockerfile-dev-with-volumes/pa11y-ci/dockerfile-pa11y-ci
depends_on:
- pod-back
volumes: *pod-volumes
# redis-commander:
# container_name: redis-commander
# hostname: redis-commander.localhost
# image: rediscommander/redis-commander:latest
# restart: always
# environment:
# - REDIS_HOSTS=local:redis:6379
# ports:
# - "8081:8081"