forked from OperationCode/operationcode_backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (39 loc) · 705 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (39 loc) · 705 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
version: '2'
services:
web:
build: .
command: bundle exec puma -C config/puma.rb
volumes:
- .:/app
volumes_from:
- bundle
ports:
- "3000:3000"
depends_on:
- operationcode-psql
- redis
env_file:
- .env
bundle:
image: operationcodebackend_web
command: echo bundle data container
volumes:
- /bundle
operationcode-psql:
image: postgres
env_file:
- .env
redis:
image: redis:latest
sidekiq:
build: .
command: sidekiq -C config/sidekiq.yml.erb
volumes:
- .:/app
volumes_from:
- bundle
depends_on:
- operationcode-psql
- redis
env_file:
- .env