This repository has been archived by the owner on Aug 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
89 lines (78 loc) · 1.5 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "3.8"
x-app: &app
build: .
volumes:
- .:/app/:cached
- bundle:/usr/local/bundle/
depends_on:
- postgres
- redis
env_file: .development.env
services:
postgres:
image: postgres:12
volumes:
- postgres:/var/lib/postgresql/data/
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
redis:
image: redis:alpine
volumes:
- redis:/data/
app:
<<: *app
ports:
- "3000:3000"
debug:
<<: *app
command: rdebug-ide --host 0.0.0.0 --port 1234 --dispatcher-port 26162 -- bin/rails s -b 0.0.0.0
ports:
- "3000:3000"
- "1234:1234"
environment:
RUBYLIB: ""
web:
build:
context: web
args:
- SENTRY_AUTH_TOKEN
ports:
- "80:80"
volumes:
- ./web/nginx/:/etc/nginx/conf.d/
- nginx:/cache/
depends_on:
- app
env_file:
- .development.env
debug:
<<: *app
command: rdebug-ide --host 0.0.0.0 --port 1234 --dispatcher-port 26162 -- bin/rails s -b 0.0.0.0
ports:
- "3000:3000"
- "1234:1234"
environment:
RUBYLIB: ""
sidekiq:
<<: *app
command: bundle exec sidekiq
clock:
<<: *app
command: bundle exec clockwork config/clock.rb
musicbrainz:
<<: *app
command: bin/forward
ports:
- "5433:5432"
volumes:
- .:/app/:cached
- $HOME/.ssh/:/app/.ssh/:ro
- $SSH_AUTH_SOCK:/ssh
volumes:
postgres:
redis:
nginx:
bundle: