-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 1.22 KB
/
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
42
43
44
45
46
version: '3.8'
services:
db:
image: 'postgres:15.2'
container_name: db
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=llm_service
volumes:
- /tmp/postgres:/var/lib/postgresql/data/
ports:
- "5433:5432" # Assuming you want to use port 8080 locally
# app-api:
# image: 'docker-spring-boot-postgres:latest'
# build:
# context: .
## container_name: app-api
# aaplatform: linux/amd64
# depends_on:
# - db
# ports:
# - "8080:8080" # Assuming you want to use port 8080 locally
# environment:
# - POSTGRES_USER=postgres
# - POSTGRES_PASSWORD=postgres
# - SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/llm_service
# - SPRING_DATASOURCE_USERNAME=postgres
# - SPRING_DATASOURCE_PASSWORD=postgres
# - SPRING_JPA_HIBERNATE_DDL_AUTO=update
build-fe:
container_name: "llm_service_ui"
stdin_open: true
build:
context: ./frontend/
dockerfile: Dockerfile
volumes:
- './frontend/:/app'
ports:
- "4040:80" # Assuming you want to use port 8080 locally
depends_on:
- db