generated from jphacks/JP_sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.prod.yml
53 lines (50 loc) · 1.06 KB
/
compose.prod.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
42
43
44
45
46
47
48
49
50
51
52
53
services:
cloudflare:
image: "cloudflare/cloudflared:latest"
container_name: "cloudflare"
volumes: ["./cloudflare/prod:/home/nonroot/.cloudflared"]
command: tunnel run
app:
build:
context: .
dockerfile: Dockerfile
container_name: "app"
ports:
- "3000:3000"
- "5555:5555"
volumes:
- ./app:/app
env_file:
- ./prod.env
command: sh -c "npm run start"
tty: true
db:
image: postgres:15
container_name: "db"
env_file:
- ./prod.env
ports:
- 5432:5432
volumes:
- db_data:/var/lib/postgresql/data
similarity_api:
container_name: FastAPI
build: ./simirality
ports:
- "9004:9004"
volumes:
- ./simirality:/simirality
command: uvicorn main:app --reload --host 0.0.0.0 --port 9004
minio:
image: minio/minio:latest
container_name: "minio"
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./minio/data:/data
command: "server /data --console-address :9001"
env_file:
- prod.env
volumes:
db_data: