mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: detach widget docker service
This commit is contained in:
@@ -36,13 +36,3 @@ services:
|
||||
pull_policy: build
|
||||
volumes:
|
||||
- ../frontend/:/app/frontend/
|
||||
|
||||
widget:
|
||||
build:
|
||||
context: ../widget
|
||||
target: development
|
||||
pull_policy: build
|
||||
volumes:
|
||||
- ../widget/src:/app/src
|
||||
ports:
|
||||
- ${APP_WIDGET_PORT}:5173
|
||||
|
||||
12
docker/docker-compose.widget.dev.yml
Normal file
12
docker/docker-compose.widget.dev.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
widget:
|
||||
build:
|
||||
context: ../widget
|
||||
target: development
|
||||
pull_policy: build
|
||||
volumes:
|
||||
- ../widget/src:/app/src
|
||||
ports:
|
||||
- ${APP_WIDGET_PORT}:5173
|
||||
13
docker/docker-compose.widget.yml
Normal file
13
docker/docker-compose.widget.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
widget:
|
||||
container_name: widget
|
||||
image: hexastack/hexabot-widget:latest
|
||||
networks:
|
||||
- app-network
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- ${APP_WIDGET_PORT}:5173
|
||||
@@ -52,17 +52,6 @@ services:
|
||||
volumes:
|
||||
- mongo-data:/data/db
|
||||
|
||||
widget:
|
||||
container_name: widget
|
||||
image: hexastack/hexabot-widget:latest
|
||||
networks:
|
||||
- app-network
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- ${APP_WIDGET_PORT}:5173
|
||||
|
||||
volumes:
|
||||
mongo-data:
|
||||
api-data:
|
||||
|
||||
Reference in New Issue
Block a user