File size: 452 Bytes
6c4e56e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: "3"
services:
  server:
    image: node:18
    environment:
      - SESSION_SECRET=notsecure
    volumes:
      - ./server/:/app
    working_dir: /app
    command: ["sh", "-c", "yarn && yarn debug"]
    ports:
      - "8080:8080"
  client:
    image: node:18
    environment:
      - BE_HOST=http://server
    volumes:
      - ./client/:/app
    working_dir: /app
    command: ["sh", "-c", "yarn && yarn start"]
    ports:
      - "3000:3000"