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

revert #984

Merged
merged 1 commit into from
Aug 4, 2023
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
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: