Skip to content

Commit 43a4110

Browse files
committed
Forward ports for running locally
1 parent 6adb2a6 commit 43a4110

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/evals/docker-compose.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ services:
1717
db:
1818
container_name: evals-db
1919
image: postgres:15.4
20-
expose:
21-
- 5432
20+
# expose:
21+
# - 5432
22+
ports:
23+
- "${EVALS_DB_PORT:-5432}:5432"
2224
volumes:
2325
- ./.docker/postgres:/var/lib/postgresql/data
2426
- ./.docker/scripts/postgres:/docker-entrypoint-initdb.d
@@ -38,8 +40,10 @@ services:
3840
redis:
3941
container_name: evals-redis
4042
image: redis:7-alpine
41-
expose:
42-
- 6379
43+
# expose:
44+
# - 6379
45+
ports:
46+
- "${EVALS_REDIS_PORT:-6379}:6379"
4347
volumes:
4448
- ./.docker/redis:/data
4549
command: redis-server --appendonly yes

0 commit comments

Comments
 (0)