-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.production.yml
46 lines (42 loc) · 1.06 KB
/
docker-compose.production.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
version: '2'
services:
elasticsearch:
image: elasticsearch:2.4
volumes:
- elastic:/usr/share/elasticsearch/data
smtp:
image: 'djfarrelly/maildev:latest'
command: 'bin/maildev --web 3080 --smtp 1025 --incoming-user smtp --incoming-pass smtp'
ports:
- '3080:3080'
db:
image: postgres:12-alpine
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD:
volumes:
- db:/var/lib/postgresql/data
app:
image: instedd/vitalwave:latest
depends_on:
- db
- smtp
- elasticsearch
ports:
- '3000:80'
environment:
DATABASE_URL: postgres://root:@db/fpp
SECRET_KEY_BASE: secret
SETTINGS__ADMIN_USER: admin
SETTINGS__ADMIN_PASS: admin
ELASTICSEARCH_URL: elasticsearch
SETTINGS__REPORT_EMAIL_TO: [email protected]
SETTINGS__SMTP_SETTINGS__ADDRESS: smtp
SETTINGS__SMTP_SETTINGS__PASSWORD: smtp
SETTINGS__SMTP_SETTINGS__PORT: 1025
SETTINGS__SMTP_SETTINGS__USER_NAME: smtp
volumes:
- ./data:/app/data
volumes:
db:
elastic: