Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix docker mssql error #168

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 22 additions & 23 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ services:
- ffood-network

sqlserver.configurator:
image: mcr.microsoft.com/mssql/server:2019-latest
image: mcr.microsoft.com/mssql-tools:latest
volumes:
- ./init:/docker-entrypoint-initdb.d
depends_on:
sqlserver:
condition: service_healthy
- sqlserver
command: >
bash -c '
/opt/mssql-tools/bin/sqlcmd -S sqlserver -U sa -P sa@123456 -i docker-entrypoint-initdb.d/full.sql;
Expand Down Expand Up @@ -58,27 +57,27 @@ services:
networks:
- ffood-network

chatbot_rag:
build: ./api/chatbot
ports:
- "8100:8100"
depends_on:
- sqlserver
- sqlserver.configurator
restart: always
networks:
- ffood-network
# chatbot_rag:
# build: ./api/chatbot
# ports:
# - "8100:8100"
# depends_on:
# - sqlserver
# - sqlserver.configurator
# restart: always
# networks:
# - ffood-network

textai_server:
build: ./api/textai_server
ports:
- "8123:8123"
depends_on:
- sqlserver
- sqlserver.configurator
restart: always
networks:
- ffood-network
# textai_server:
# build: ./api/textai_server
# ports:
# - "8123:8123"
# depends_on:
# - sqlserver
# - sqlserver.configurator
# restart: always
# networks:
# - ffood-network

tomcat-app:
build:
Expand Down
Loading