Create docker-compose.yml
Browse files- docker-compose.yml +37 -0
docker-compose.yml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version: '3.8'
|
| 2 |
+
|
| 3 |
+
services:
|
| 4 |
+
web:
|
| 5 |
+
build: .
|
| 6 |
+
ports:
|
| 7 |
+
- "5000:5000"
|
| 8 |
+
depends_on:
|
| 9 |
+
- redis
|
| 10 |
+
- postgres
|
| 11 |
+
- selenium-hub
|
| 12 |
+
|
| 13 |
+
selenium-hub:
|
| 14 |
+
image: selenium/hub
|
| 15 |
+
ports:
|
| 16 |
+
- "4444:4444"
|
| 17 |
+
|
| 18 |
+
chrome-node:
|
| 19 |
+
image: selenium/node-chrome
|
| 20 |
+
shm_size: 2gb
|
| 21 |
+
depends_on:
|
| 22 |
+
- selenium-hub
|
| 23 |
+
|
| 24 |
+
redis:
|
| 25 |
+
image: redis:alpine
|
| 26 |
+
ports:
|
| 27 |
+
- "6379:6379"
|
| 28 |
+
|
| 29 |
+
postgres:
|
| 30 |
+
image: postgres:14
|
| 31 |
+
environment:
|
| 32 |
+
POSTGRES_PASSWORD: example
|
| 33 |
+
volumes:
|
| 34 |
+
- postgres_data:/var/lib/postgresql/data
|
| 35 |
+
|
| 36 |
+
volumes:
|
| 37 |
+
postgres_data:
|