forked from rubyforgood/casa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 877 Bytes
/
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
services:
web:
build: .
command: bin/dev
ports:
- "3000:3000"
- "4000:4000"
volumes:
- .:/usr/src/app
- node_modules:/usr/src/app/node_modules
- bundle_data:/usr/local/bundle/gems
env_file:
- config/docker.env
depends_on:
- database
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 5
tty: true
platform: linux/x86_64
database:
image: postgres:12.5
env_file:
- config/docker.env
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5435:5432"
selenium_chrome:
image: selenium/standalone-chrome-debug
logging:
driver: none
ports:
- "5900:5900"
volumes:
- ./tmp/downloads:/home/seluser/Downloads
volumes:
db_data:
bundle_data:
node_modules: