-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
61 lines (56 loc) · 1.33 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
version: '2'
services:
db:
image: postgres:9.4.1
environment:
- POSTGRES_PASSWORD=Password123!
- POSTGRES_USER=juno
- POSTGRES_DB=juno_production
redis:
image: redis
web:
build: .
ports:
- "5000:80"
links:
- db
- smtp
- redis
command: ./start.sh
environment:
- PG_ENV_POSTGRES_USER=juno
- PG_ENV_POSTGRES_PASSWORD=Password123!
- PG_PORT_5432_TCP_ADDR=db
- SECRET_KEY=oiwefhoin230w0ifh203h0hfewo
- RAILS_ENV=production
- SITE_ADDRESS=localhost
- REDIS_URL=redis://redis
- JUNO_PROBE_SECRET=sda23r23fwedsfergv32r3r
- RAILS_SERVE_STATIC_FILES=true
sidekiq:
build: .
links:
- db
- redis
- juno-probe
command: bundle exec sidekiq -e production
environment:
- PG_ENV_POSTGRES_USER=juno
- PG_ENV_POSTGRES_PASSWORD=Password123!
- PG_PORT_5432_TCP_ADDR=db
- SECRET_KEY=oiwefhoin230w0ifh203h0hfewo
- REDIS_URL=redis://redis
- JUNO_PROBE_SECRET=sda23r23fwedsfergv32r3r
smtp:
image: namshi/smtp
juno-probe:
image: juno-probe:latest
restart: on-failure
links:
- web
environment:
JUNO_URL: http://web
JUNO_PROBE_URL: http://juno-probe:8080
JUNO_PROBE_PORT: 8080
JUNO_PROBE_SECRET: sda23r23fwedsfergv32r3r
JUNO_PROBE_NAME: Europe/London