forked from bricks-cloud/BricksLLM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (41 loc) · 976 Bytes
/
docker-compose.yml
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
version: '3.8'
services:
redis:
image: redis:6.2-alpine
restart: always
ports:
- '6379:6379'
command: redis-server --save 20 1 --loglevel warning --requirepass eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81
volumes:
- redis:/data
postgresql:
image: postgres:14.1-alpine
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- '5432:5432'
volumes:
- postgresql:/var/lib/postgresql/data
# bricksllm:
# depends_on:
# - redis
# - postgresql
# image: luyuanxin1995/bricksllm
# environment:
# - POSTGRESQL_USERNAME=postgres
# - POSTGRESQL_PASSWORD=postgres
# - REDIS_PASSWORD=eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81
# - POSTGRESQL_HOSTS=postgresql
# - REDIS_HOSTS=redis
# ports:
# - '8001:8001'
# - '8002:8002'
# command:
# - '-m=dev'
volumes:
redis:
driver: local
postgresql:
driver: local