forked from loomio/loomio-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
75 lines (69 loc) · 1.49 KB
/
docker-compose.yml
File metadata and controls
75 lines (69 loc) · 1.49 KB
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
letsencrypt:
restart: always
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./certificates:/etc/nginx/certs:rw
volumes_from:
- nginx
nginx:
restart: always
image: jwilder/nginx-proxy
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./certificates:/etc/nginx/certs:ro
- ./nginx/vhost.d:/etc/nginx/vhost.d
- ./nginx/conf.d/custom.conf:/etc/nginx/conf.d/custom.conf:ro
- ./nginx/html:/usr/share/nginx/html
ports:
- 80:80
- 443:443
links:
- loomio
- faye
loomio:
restart: always
image: loomio/loomio:stable
expose:
- 3000
env_file: ./env
links:
- db
environment:
- DATABASE_URL=postgresql://postgres:password@db/loomio_production
volumes:
- ./uploads:/loomio/public/system
- ./files:/loomio/public/files
worker:
restart: always
image: loomio/loomio:stable
env_file: ./env
links:
- db
environment:
- DATABASE_URL=postgresql://postgres:password@db/loomio_production
- TASK=worker
volumes:
- ./uploads:/loomio/public/system
- ./files:/loomio/public/files
db:
restart: always
image: postgres:9.6
volumes:
- ./pgdata:/pgdata
environment:
- POSTGRES_PASSWORD=password
- PGDATA=/pgdata
mailin:
restart: always
image: loomio/mailin-docker
ports:
- "25:25"
links:
- loomio
environment:
- WEBHOOK_URL=http://loomio:3000/email_processor/
faye:
restart: always
build: faye/.
env_file: ./faye_env