-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
58 lines (54 loc) · 1.18 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3'
services:
web:
platform: linux/amd64
image: baritomarket-web-dev:latest
build:
context: .
args:
- RAILS_ENV=development
- RACK_ENV=development
environment:
- DB_USER=barito
- DB_HOST=db
- DB_NAME=barito
- DB_PASSWORD=barito
- REDIS_CACHE_HOST=redis:6379
- RAILS_ENV=development
- RACK_ENV=development
- REDIS_URL=redis://redis:6379/0
- DB_POOL=5
- DB_TIMEOUT=60
- CAS_BASE_URL=""
volumes:
- .:/app
ports:
- 8080:8080
scheduler:
platform: linux/amd64
image: baritomarket-web-dev:latest
depends_on:
- web
command: ["sidekiq"]
environment:
- DB_USER=barito
- DB_HOST=db
- DB_NAME=barito
- DB_PASSWORD=barito
- REDIS_CACHE_HOST=redis:6379
- RAILS_ENV=development
- RACK_ENV=development
- REDIS_URL=redis://redis:6379/0
- DB_POOL=5
- DB_TIMEOUT=60
- CAS_BASE_URL=""
volumes:
- .:/app
db:
image: postgres:12-alpine
environment:
- POSTGRES_USER=barito
- POSTGRES_DB=barito
- POSTGRES_PASSWORD=barito
redis:
image: redis:5-alpine