-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose-external-db.yml
50 lines (42 loc) · 1.2 KB
/
docker-compose-external-db.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
version: "2"
services:
malquarium-frontend:
image: malquarium/frontend:latest
expose:
- "80"
ports:
- "8080:80"
depends_on:
- malquarium-backend
malquarium-backend:
image: malquarium/backend:latest
ports:
- "8000:8000"
volumes:
- /data/malquarium/samples:/data/samples
- /usr/bin/docker:/bin/docker
- /var/run/docker.sock:/run/docker.sock
environment:
DJANGO_SECRET_KEY: "your-super-duper-django-secret-key"
DJANGO_DEBUG: "false"
DB_NAME: malquarium
DB_USER: malquarium
DB_PASSWORD: your-super-duper-postgres-password
DB_SERVER: db
DB_PORT: 5432
EMAIL_HOST: smtp.gmail.com
EMAIL_PORT: 465
EMAIL_HOST_USER: [email protected]
EMAIL_HOST_PASSWORD: someones-password
EMAIL_USE_TLS: 0
EMAIL_USE_SSL: 1
DEFAULT_FROM_EMAIL: [email protected]
CONSOLE_LOG_LEVEL: INFO
DJANGO_LOG_LEVEL: INFO
FRONTEND_URL: "https://your.frontend.server"
SAMPLE_STORE: "/data/samples"
OUTER_SAMPLE_STORE: "/data/malquarium/samples"
MAX_SAMPLE_SIZE: 20000000
ADMIN_USER: malquarium
ADMIN_PASSWORD: changeme
VT_API_KEY: "your-VT-API-key"