-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (55 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
version: '3'
services:
app:
build: .
volumes:
- ./entrypoint.sh:/app/entrypoint.sh
- ./db/seeds.rb:/app/db/seeds.rb
- ./tmp/pids:/app/tmp/pids
# - .:/app
# - bundle:/usr/local/bundle
# - node_modules:/app/node_modules
environment:
- DATABASE_URL=postgres://postgres:decidim@db/decidim_letterbox
- SECRET_KEY_BASE=1b96400ef619e9d5659ee071b87c4663cbaab9de81776133aaeda1575aee909052f8f80414f003a5eb62de24b55707cb518cc4e3871eafe28b10d7a124062036
- DECIDIM_FORCE_SSL=false
- QUEUE_ADAPTER=sidekiq
- REDIS_URL=redis://redis:6379/1
ports:
- 3000:3000
depends_on:
- db
- redis
sidekiq:
build: .
volumes:
- ./entrypoint.sh:/app/entrypoint.sh
# - .:/app
# - bundle:/usr/local/bundle
# - node_modules:/app/node_modules
environment:
- DATABASE_URL=postgres://postgres:decidim@db/decidim_letterbox
- SECRET_KEY_BASE=1b96400ef619e9d5659ee071b87c4663cbaab9de81776133aaeda1575aee909052f8f80414f003a5eb62de24b55707cb518cc4e3871eafe28b10d7a124062036
- DECIDIM_FORCE_SSL=false
- QUEUE_ADAPTER=sidekiq
- REDIS_URL=redis://redis:6379/1
- RUN_SIDEKIQ=true
depends_on:
- redis
db:
image: postgres:13
ports:
- "54321:5432"
environment:
- POSTGRES_PASSWORD=decidim
volumes:
- pg_data:/var/lib/postgresql/data
redis:
image: redis
volumes:
- redis_data:/data
volumes:
pg_data:
redis_data:
# bundle:
# node_modules: