-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (74 loc) · 1.82 KB
/
Copy pathdocker-compose.yml
File metadata and controls
79 lines (74 loc) · 1.82 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
services:
save_it:
profiles: ["prod"]
image: ghcr.io/thaddeusjiang/save_it:latest
restart: on-failure
env_file:
- .env
environment:
COBALT_API_URL: "http://cobalt-api:9000"
TYPESENSE_URL: "http://typesense:8108"
volumes:
- save_it_data:/data
depends_on:
cobalt-api:
condition: service_started
typesense:
condition: service_started
cobalt-api:
image: ghcr.io/imputnet/cobalt:11
init: true
read_only: true
restart: on-failure
ports:
- 9001:9000/tcp
environment:
API_URL: "http://cobalt-api:9000/"
COOKIE_PATH: "/cookies.json"
volumes:
- type: bind
source: ./cobalt-cookies.json
target: /cookies.json
typesense:
image: typesense/typesense:30.2
restart: on-failure
ports:
- "8108:8108"
volumes:
- save_it_typesense_data:/data
command: "--data-dir=/data --api-key=xyz --enable-cors"
typelens:
image: ghcr.io/copperline-ai/typelens:1.26.0
restart: on-failure
ports:
- "3000:3000"
environment:
TYPESENSE_SERVER_NAME: "Local Typesense"
TYPESENSE_HOST: "typesense"
TYPESENSE_PORT: "8108"
TYPESENSE_PROTOCOL: "http"
TYPESENSE_API_KEY: "xyz"
AUTH_USERNAME: "test@example.com"
AUTH_PASSWORD: "pass123456"
depends_on:
typesense:
condition: service_started
save_it_e2e:
profiles: ["e2e"]
image: save_it:e2e
restart: on-failure
env_file:
- .env
environment:
COBALT_API_URL: "http://cobalt-api:9000"
TYPESENSE_URL: "http://typesense:8108"
depends_on:
cobalt-api:
condition: service_started
typesense:
condition: service_started
volumes:
save_it_data:
name: save_it_data
save_it_typesense_data:
name: save_it_typesense_data