Skip to content

Commit bb9c70a

Browse files
oleg-filiutsichdiemol
authored andcommitted
Update README.md (#855)
Add shared volume in docker compose swarm 3
1 parent edb3968 commit bb9c70a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,17 @@ services:
130130
- "4444:4444"
131131
chrome:
132132
image: selenium/node-chrome:3.141.59-dubnium
133+
volumes:
134+
- /dev/shm:/dev/shm
133135
depends_on:
134136
- selenium-hub
135137
environment:
136138
- HUB_HOST=selenium-hub
137139
- HUB_PORT=4444
138140
firefox:
139141
image: selenium/node-firefox:3.141.59-dubnium
142+
volumes:
143+
- /dev/shm:/dev/shm
140144
depends_on:
141145
- selenium-hub
142146
environment:
@@ -162,6 +166,8 @@ services:
162166

163167
chrome:
164168
image: selenium/node-chrome:3.141.59-dubnium
169+
volumes:
170+
- /dev/shm:/dev/shm
165171
environment:
166172
HUB_HOST: hub
167173
HUB_PORT: 4444
@@ -171,6 +177,8 @@ services:
171177

172178
firefox:
173179
image: selenium/node-firefox:3.141.59-dubnium
180+
volumes:
181+
- /dev/shm:/dev/shm
174182
environment:
175183
HUB_HOST: hub
176184
HUB_PORT: 4444

0 commit comments

Comments
 (0)