Skip to content

Commit

Permalink
revert docker compose (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluder-Paradyne authored Aug 3, 2023
1 parent 7e0af23 commit 9c93b00
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -75,4 +73,4 @@ networks:
driver: bridge
volumes:
superagi_postgres_data:
redis_data:
redis_data:

0 comments on commit 9c93b00

Please sign in to comment.