-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
36 lines (30 loc) · 857 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
36 lines (30 loc) · 857 Bytes
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
version: '3.4'
services:
# Backend server -------------------------------------------------------------
django:
build:
context: .
dockerfile: docker/django.Dockerfile
environment:
- SECRET_KEY=$SECRET_KEY
- DJANGO_LOG_LEVEL=$DJANGO_LOG_LEVEL
- TIME_ZONE=$TIME_ZONE
- DISQUS_API_KEY=$DISQUS_API_KEY
- DISQUS_WEBSITE_SHORTNAME=$DISQUS_WEBSITE_SHORTNAME
volumes:
- ./radioco/media/:/radioco/radioco/media/
links:
- postgres
postgres:
image: postgres:11.0
restart: always
environment:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
volumes:
- database_data:/var/lib/postgresql/data
# Volumes ---------------------------------------------------------------------
volumes:
database_data:
name: database_data