-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
58 lines (56 loc) · 1.12 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
services:
colore:
platform: linux/amd64
build:
context: .
dockerfile: ./docker/colore/Dockerfile
args:
RACK_ENV: development
container_name: colore
depends_on:
- redis
- sidekiq
env_file:
- ./docker/colore/variables.env
environment:
RACK_ENV: development
networks:
- colore
ports:
- 9240:9240
restart: on-failure
volumes:
- storage:/colore/storage
redis:
container_name: redis
image: redis:5.0-alpine
networks:
- colore
restart: on-failure
volumes:
- redis:/data
sidekiq:
platform: linux/amd64
build:
context: .
dockerfile: ./docker/colore/Dockerfile
args:
RACK_ENV: development
command: bundle exec sidekiq -C config/sidekiq.yml -r ./lib/sidekiq_app.rb
container_name: sidekiq
depends_on:
- redis
env_file:
- ./docker/colore/variables.env
environment:
RACK_ENV: development
networks:
- colore
restart: on-failure
volumes:
- storage:/colore/storage
volumes:
storage:
redis:
networks:
colore: