-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (46 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
48 lines (46 loc) · 1.05 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
version: "2"
services:
cornerwise:
image: bdsand/cornerwise:latest
env_file:
- ./docker-support/common.env
environment:
APP_PORT: "4000"
APP_MODE: "development"
GOOGLE_APPLICATION_CREDENTIALS: "/app/cornerwise/google_credentials.json"
DJANGO_SERVE_STATIC: "1"
DJANGO_SERVE_MEDIA: "1"
SERVER_DOMAIN: "localhost:4000"
BASE_URL: "http://localhost:4000"
ENABLE_DEBUG_TOOLBAR: "1"
ports:
- "4000:4000"
links:
- postgres
- redis
working_dir: /app/
command: bash /app/start.sh
volumes:
- media:/media
- ./server:/app
- ./client:/static
- ./data:/data
- ./docker-support:/support
- ./docs/scraper-schema.json:/app/scraper-schema.json
stdin_open: true
tty: true
postgres:
image: mdillon/postgis:9.4-alpine
volumes:
- data:/var/lib/postgresql/data
redis:
image: redis:latest
volumes:
- redis_data:/data
volumes:
redis_data:
driver: local
data:
driver: local
media:
driver: local