Skip to content

Commit cf2a832

Browse files
committed
revert docker-compose.dev.yml:
1 parent 3161116 commit cf2a832

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

docker-compose.dev.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,19 @@ services:
1313
- .env
1414
volumes:
1515
- ./data:/shared/data
16-
- ./backend:/app
17-
- /app/.venv
18-
command: fastapi dev app/api_server.py --host 0.0.0.0 --port 80 --reload
1916
depends_on:
2017
- redis
2118

2219
frontend:
2320
build:
2421
context: .
2522
dockerfile: ./frontend/Dockerfile
26-
target: deps
2723
args:
2824
BUILDKIT_INLINE_CACHE: 1
2925
ports:
3026
- "3001:3000"
3127
environment:
3228
BASE_URL: http://backend
33-
HOSTNAME: 0.0.0.0
34-
volumes:
35-
- ./frontend:/tidb.ai/frontend
36-
command: sh -c "cd /tidb.ai/frontend && pnpm run dev"
3729
depends_on:
3830
- backend
3931

@@ -49,8 +41,6 @@ services:
4941
- .env
5042
volumes:
5143
- ./data:/shared/data
52-
- ./backend:/app
53-
- /app/.venv
5444
command: /usr/bin/supervisord
5545
depends_on:
5646
- redis
@@ -74,4 +64,4 @@ services:
7464
image: redis:6.0.16
7565
volumes:
7666
- ./redis-data:/data
77-
command: ["redis-server", "--loglevel", "warning"]
67+
command: ["redis-server", "--loglevel", "warning"]

0 commit comments

Comments
 (0)