-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
65 lines (60 loc) · 1.42 KB
/
docker-compose.dev.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
56
57
58
59
60
61
62
63
64
65
version: "3.7"
services:
django:
build: .
restart: always
ports:
- "80:8000"
volumes:
- ./project:/code
command: python manage.py runserver 0.0.0.0:8000
networks:
- django-network
environment:
DEBUG: 1
SECRET_KEY: u9)pv@bhz6r0g7-)3kr=kopc6wx07&olo8f5qm1i2y1tr2+cj*
SECURE_HSTS_SECONDS: 0
SECURE_CONTENT_TYPE_NOSNIFF: 0
SECURE_BROWSER_XSS_FILTER: 0
CSRF_COOKIE_SECURE: 0
SESSION_COOKIE_SECURE: 0
X_FRAME_OPTIONS: SAMEORIGIN
EMAIL_BACKEND: django.core.mail.backends.filebased.EmailBackend
EMAIL_FILE_PATH: sent_emails
SQL_ENGINE: django.db.backends.postgresql
SQL_DATABASE: friendscal_dev
SQL_USER: djangouser
SQL_PASSWORD: pw4djangouser
SQL_HOST: db
SQL_PORT: 5432
DATABASE: postgres
depends_on:
- db
db:
image: postgres:alpine
restart: always
volumes:
- ./db:/var/lib/postgresql/data/
networks:
- django-network
environment:
POSTGRES_USER: djangouser
POSTGRES_PASSWORD: pw4djangouser
POSTGRES_DB: friendscal_dev
adminer:
image: adminer
restart: always
ports:
- 8080:8080
networks:
- django-network
sass-watcher:
build: sass-container
restart: always
volumes:
- ./sass:/src
- ./project/static/materialize/css:/dest
network_mode: "none"
networks:
django-network:
driver: bridge