-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·54 lines (54 loc) · 1001 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
46
47
48
49
50
51
52
53
54
version: "3.9"
services:
web:
platform: linux/x86_64
build:
context: .
target: dev
env_file:
- .env.dev
environment:
- BUNDLE_ENTERPRISE__CONTRIBSYS__COM
stdin_open: true
tty: true
command: bundle exec rails server --binding 0.0.0.0
volumes:
- ".:/app"
- bundle:/bundle
ports:
- "3000:3000"
depends_on:
- db
- redis
sidekiq:
platform: linux/x86_64
build:
context: .
target: dev
env_file:
- .env.dev
stdin_open: true
tty: true
command: bundle exec sidekiq
volumes:
- ".:/app"
- bundle:/bundle
depends_on:
- db
- redis
db:
platform: linux/x86_64
image: "healthcheck/postgres:alpine"
environment:
POSTGRES_PASSWORD: db_password
redis:
platform: linux/x86_64
image: "redis:6-alpine"
command: redis-server
ports:
- "6379:6379"
volumes:
- "redis:/data"
volumes:
bundle:
redis: