-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (41 loc) · 1.19 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
version: '3'
services:
app:
image: pcourbin/decidim:0.21.0
environment:
- DATABASE_URL=postgres://decidim:OCkeTrIACTIsAusiUMbo@pg/app_production
- RAILS_SERVE_STATIC_FILES=true # If RAILS_ENV=production and you don't have NGINX before requests
- RAILS_ENV=production
- DB_CREATE=true
- ADMIN_ENABLE=true
- ADMIN_PASSWORD=temppassword
- DEFAULT_LOCALE=en
- 'DEFAULT_LOCALES_AVAILABLE=[:en,:fr,:es,:de,:it,:ca]'
- REDIS_URL=redis://redis:6379
- SECRET_KEY_BASE=ZQvTaHbSV3QUbFZBcfsrre9jEzucc29e2bfKWnFDPwqKgcQKRYGgHcDUx5jWrTNjVhbtWK
- SMTP_PASSWORD=dohodkuoxxqeycat
- SMTP_ADDRESS=smtp.gmail.com
- SMTP_DOMAIN=gmail.com
volumes:
- ./decidim-data:/app/public/uploads
ports:
- 8030:3000
links:
- pg
- redis
restart: always
pg:
image: postgres
environment:
- POSTGRES_USER=decidim
- POSTGRES_PASSWORD=OCkeTrIACTIsAusiUMbo
volumes:
- ./pg-data:/var/lib/postgresql/data
restart: always
redis:
image: redis
volumes:
- ./redis-data:/data
restart: always