-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
39 lines (38 loc) · 1.15 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
version: '3.9'
services:
go-dev:
container_name: jury-dev-backend
environment:
- MONGODB_URI=${MONGODB_URI}
- JURY_ADMIN_PASSWORD=${JURY_ADMIN_PASSWORD}
- EMAIL_HOST=${EMAIL_HOST}
- EMAIL_PORT=${EMAIL_PORT}
- EMAIL_FROM=${EMAIL_FROM}
- EMAIL_FROM_NAME=${EMAIL_FROM_NAME}
- EMAIL_USERNAME=${EMAIL_USERNAME}
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- SENDGRID_API_KEY=${SENDGRID_API_KEY}
- VITE_JURY_NAME=${JURY_NAME}
- PORT=8000
build:
context: './'
dockerfile: dev.Dockerfile
ports:
- ${PORT:-8000}:8000
volumes:
- ./server:/jury
node-dev:
depends_on:
- 'go-dev'
container_name: jury-dev-frontend
environment:
- VITE_JURY_NAME=${JURY_NAME}
- VITE_JURY_URL=http://localhost:${PORT:-8000}/api
- VITE_HUB=${HEHE:-}
build:
context: './'
dockerfile: client/dev.Dockerfile
ports:
- 3000:3000
volumes:
- ./client:/client