-
Notifications
You must be signed in to change notification settings - Fork 12
/
dev.yml
55 lines (49 loc) · 1.08 KB
/
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
version: '3'
volumes:
db-data:
driver: local
node_modules:
driver: local
services:
db:
image: postgres:9.6
container_name: pycones-db
volumes:
- db-data:/var/lib/postgresql
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: potato
POSTGRES_DB: pycones2020
gulp:
build:
context: .
dockerfile: gulp.Dockerfile
image: pycones-gulp
volumes:
- ./src:/app
command: /build_node.sh
web:
build:
context: .
dockerfile: Dockerfile
image: pycones
depends_on:
- db
- gulp
volumes:
- ./src:/app
- ./docker/requirements.txt:/requirements.txt
environment:
DJANGO_SECRET_KEY: 'oluyomahB3vaaw0iemahCh8Eighai7Ai'
DJANGO_SETTINGS_MODULE: 'config.settings.local'
DJANGO_ALLOWED_HOSTS: '*'
DATABASE_URL: 'postgres://postgres:potato@db:5432/pycones2020'
POSTGRES_DB: pycones2020
POSTGRES_USER: postgres
POSTGRES_PASSWORD: potato
POSTGRES_HOST: db
POSTGRES_PORT: 5432
ports:
- "8000:8000"
command: run-devel