-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (52 loc) · 987 Bytes
/
docker-compose.yml
File metadata and controls
52 lines (52 loc) · 987 Bytes
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
version: "3.8"
networks:
backend:
frontend:
selenium:
services:
db:
image: postgres:14.2-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
networks:
- backend
redis:
image: redis:7-alpine
ports:
- "6379:6379"
networks:
- backend
chrome_server:
image: seleniarm/standalone-chromium
volumes:
- /dev/shm:/dev/shm
networks:
- selenium
app:
build: .
tty: true
volumes:
- .:/app
working_dir: /app
environment:
DB: postgresql
DB_HOST: db
DB_PORT: 5432
DB_USERNAME: postgres
DB_PASSWORD: postgres
BUNDLE_GEMFILE: /app/Gemfile
SELENIUM_REMOTE_URL: http://chrome_server:4444/wd/hub
command: script/docker-dev-start-web.sh
networks:
- backend
- frontend
- selenium
ports:
- "3000:3000"
depends_on:
- db
- redis
- chrome_server