-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (37 loc) · 915 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (37 loc) · 915 Bytes
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
services:
ureadability:
build: .
image: ghcr.io/ukeeper/ukeeper-readability:latest
logging:
driver: json-file
options:
max-size: "20m"
max-file: "5"
hostname: ureadability
restart: always
container_name: ureadability
links:
- mongo
environment:
- MONGO_URI=mongodb://root:Squid3kIc6Dew4ad8Ci5@mongo:27017
- MONGO_DELAY=10s
- CREDS=admin:jpm6AQH!kbx2tvk!fqc
#- OPENAI_KEY=insert_key_here
ports:
- "8080:8080"
mongo:
image: mongo:5.0
logging:
driver: json-file
options:
max-size: "20m"
max-file: "5"
hostname: mongo
restart: always
container_name: ureadability-mongo
environment:
- MONGO_INITDB_DATABASE=admin
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=Squid3kIc6Dew4ad8Ci5
volumes:
- /tmp/mongodb:/data/db