File size: 994 Bytes
5285b72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
services:
  backend:
    build: .
    command:
      - uvicorn
      - backend:app
      - --host
      - 0.0.0.0
      - --port
      - "7860"
      - --log-level
      - debug
      - --reload
    depends_on:
      - vespa
    entrypoint:
      - /usr/bin/env
    environment:
      OPENAI_API_KEY: null
      TZ: UTC
    image: govsearch:latest
    ports:
      - 7860:7860
  frontend:
    build: .
    command:
      - npx
      - remix
      - vite:dev
      - --host
      - 0.0.0.0
      - --port
      - "7861"
    depends_on:
      - backend
    entrypoint:
      - /usr/bin/env
    environment:
      TZ: UTC
    image: govsearch:latest
    ports:
      - 7861:7861
  vespa:
    image: vespaengine/vespa:8.324.16
    ports:
      - 4080:4080
      - 19071:19071
      - 19092:19092
    ulimits:
      nofile:
        hard: 262144
        soft: 32768
      nproc:
        hard: 409600
        soft: 32768
    volumes:
      - vespa:/opt/vespa/var
version: "3.4"
volumes:
  vespa: null