Skip to content

Commit f60ac4e

Browse files
committed
Updated "ports" config based on .env file
1 parent 3dd19d6 commit f60ac4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ services:
99
volumes:
1010
- ./src:/app/src
1111
ports:
12-
- "9000:8000"
12+
- "${API_PORT:-8000}:8000"
1313
environment:
14-
API_PORT: ${API_PORT:-9000}
14+
API_PORT: ${API_PORT:-8000}
1515
DEBUG: ${DEBUG:-true}
1616
LOG_LEVEL: ${LOG_LEVEL}
1717
PYTHONPATH: /app:/app/src

0 commit comments

Comments
 (0)