-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
49 lines (45 loc) · 1.04 KB
/
docker-compose.local.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
version: '3.8'
services:
web:
tty: true
build: .
networks:
- swecc-default
volumes:
- .:/app
ports:
- "8000:8000"
depends_on:
- db
environment:
- DJANGO_DEBUG=${DJANGO_DEBUG}
- DB_HOST=${DB_HOST}
- DB_NAME=${DB_NAME}
- DB_PORT=${DB_PORT}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- SENDGRID_API_KEY=${SENDGRID_API_KEY}
- SUPABASE_URL=${SUPABASE_URL}
- SUPABASE_KEY=${SUPABASE_KEY}
- INTERNSHIP_CHANNEL_ID=${INTERNSHIP_CHANNEL_ID}
- NEW_GRAD_CHANNEL_ID=${NEW_GRAD_CHANNEL_ID}
- METRIC_SERVER_URL=${METRIC_SERVER_URL}
db:
image: postgres:13
networks:
- swecc-default
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- ${DB_PORT}:${DB_PORT}
environment:
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_PORT=${DB_PORT}
volumes:
postgres_data:
networks:
swecc-default:
external: true
name: swecc-default