File size: 461 Bytes
5743bc2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
services:
  api:
    build:
      context: .
      dockerfile: Dockerfile.api
    container_name: guardian-api
    environment:
      PORT: 3001
      GUARDIAN_LOCAL_MOCK_API: "1"
    ports:
      - "3001:3001"

  web:
    build:
      context: .
      dockerfile: Dockerfile.web
    container_name: guardian-web
    depends_on:
      - api
    environment:
      PORT: 3000
      BASE_PATH: /
      API_BASE_URL: http://api:3001
    ports:
      - "3000:3000"