Skip to content

Commit 17524e5

Browse files
fix: adding local build image, adding local .env to docker compose
1 parent 840e554 commit 17524e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ version: "3.8"
22

33
services:
44
api:
5-
image: evoapicloud/evo-ai:latest
5+
# image: evoapicloud/evo-ai:latest Use this image to pull from the repo
6+
image: evoai-api:latest # Use this image for local builds
67
depends_on:
78
- postgres
89
- redis
910
ports:
1011
- "8000:8000"
12+
env_file:
13+
- .env
1114
environment:
1215
POSTGRES_CONNECTION_STRING: postgresql://postgres:${POSTGRES_PASSWORD:-postgres}@postgres:5432/evo_ai
1316
REDIS_HOST: redis

0 commit comments

Comments
 (0)