fix: adding local build image, adding local .env to docker compose

This commit is contained in:
Danielpeter-99 2025-05-29 17:40:49 -04:00
parent 840e55438a
commit 17524e5dff

View File

@ -2,12 +2,15 @@ version: "3.8"
services: services:
api: api:
image: evoapicloud/evo-ai:latest # image: evoapicloud/evo-ai:latest Use this image to pull from the repo
image: evoai-api:latest # Use this image for local builds
depends_on: depends_on:
- postgres - postgres
- redis - redis
ports: ports:
- "8000:8000" - "8000:8000"
env_file:
- .env
environment: environment:
POSTGRES_CONNECTION_STRING: postgresql://postgres:${POSTGRES_PASSWORD:-postgres}@postgres:5432/evo_ai POSTGRES_CONNECTION_STRING: postgresql://postgres:${POSTGRES_PASSWORD:-postgres}@postgres:5432/evo_ai
REDIS_HOST: redis REDIS_HOST: redis