From 9c93b00239aefc77b3c0f9da9c6ed0dd8213ef4f Mon Sep 17 00:00:00 2001 From: Fluder-Paradyne <121793617+Fluder-Paradyne@users.noreply.github.com> Date: Thu, 3 Aug 2023 14:47:30 +0530 Subject: [PATCH] revert docker compose (#962) --- docker-compose.yaml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index ed07a89ff..94044916b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,39 +1,37 @@ version: '3.8' services: backend: - image: "superagidev/superagi:main" volumes: - - "./workspace:/app/workspace" + - "./:/app" + build: . depends_on: - super__redis - super__postgres networks: - super_network - env_file: - - config.yaml command: ["/app/wait-for-it.sh", "super__postgres:5432","-t","60","--","/app/entrypoint.sh"] - celery: - image: "superagidev/superagi:main" volumes: - - "./workspace:/app/workspace" + - "./:/app" - "${EXTERNAL_RESOURCE_DIR:-./workspace}:/app/ext" + build: . depends_on: - super__redis - super__postgres networks: - super_network - env_file: - - config.yaml command: ["/app/entrypoint_celery.sh"] - gui: - image: "superagidev/superagi-frontend:main" - environment: - - NEXT_PUBLIC_API_BASE_URL=/api + build: + context: ./gui + args: + NEXT_PUBLIC_API_BASE_URL: "/api" networks: - super_network - +# volumes: +# - ./gui:/app +# - /app/node_modules/ +# - /app/.next/ super__redis: image: "redis/redis-stack-server:latest" networks: @@ -75,4 +73,4 @@ networks: driver: bridge volumes: superagi_postgres_data: - redis_data: + redis_data: \ No newline at end of file