-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 796 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 796 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
37
38
39
40
41
42
43
44
45
services:
backend:
build: ./backend
container_name: backend
ports:
- "3000:3000"
env_file:
- ./backend/.env
command: >
sh -c "
npx prisma generate
npx prisma migrate deploy
yarn start:dev
"
networks:
- app-network
frontend:
build: ./ui-mantis
container_name: frontend
ports:
- "4000:4000"
env_file:
- ./ui-mantis/.env
networks:
- app-network
depends_on:
- backend
# nginx:
# image: nginx:alpine
# container_name: nginx
# ports:
# - "80:80"
# volumes:
# - ./nginx/nginx.conf:/etc/nginx/nginx.conf
# depends_on:
# - backend
# - frontend
# networks:
# - app-network
networks:
app-network:
driver: bridge