File size: 502 Bytes
0b2f8bd
 
 
 
4cea933
604d53b
4cea933
0b2f8bd
 
4cea933
604d53b
0b2f8bd
604d53b
0b2f8bd
 
 
4cea933
 
0b2f8bd
4cea933
0b2f8bd
4cea933
604d53b
0b2f8bd
 
4cea933
 
 
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
version: '3.8'

services:
  backend:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "8000:8000"
    environment:
      - PORT=8000
    volumes:
      - backend_data:/app/backend/data

  frontend:
    build:
      context: ./frontend
      dockerfile: Dockerfile
    ports:
      - "3000:3000"
    environment:
      - NEXT_PUBLIC_API_URL=http://localhost:8000
      - NEXT_PUBLIC_WS_URL=ws://localhost:8000/ws/feed
    depends_on:
      - backend

volumes:
  backend_data: