File size: 492 Bytes
de234b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58fcccf
de234b1
 
 
 
 
 
 
 
 
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
version: '3'
services:
  backend:
    build: 
      context: .
      target: backend
    ports:
      - 5000:5000

  frontend:
      image: node:alpine
      build: 
        context: .
        target: frontend
      ports:
        - 3000:3000
      environment:
        - HOST=0.0.0.0
      volumes:
        - ./web_app/frontend:/app/frontend
        - /app/frontend/node_modules
      command: npm run dev
      depends_on:
        - backend

volumes:
  postgres_data:

networks:
  default: