Skip to content

Commit e388c2a

Browse files
committed
Explicitly set variables in docker-compose
1 parent cf4b61e commit e388c2a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@ services:
66
- ./api:/app/api
77
ports:
88
- "${PORT}:${PORT}"
9-
env_file:
10-
- .env
9+
environment:
10+
- API_KEY=${API_KEY}
11+
- FLASK_DEBUG=1
12+
- AWS_REGION=${AWS_REGION}
13+
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
14+
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
15+
- SERVERLESS_ACCESS_KEY=${SERVERLESS_ACCESS_KEY}
16+
- PORT=${PORT}

0 commit comments

Comments
 (0)