Skip to content

Commit

Permalink
chore: update docker-compose.yml to use env_file for environment vari…
Browse files Browse the repository at this point in the history
…ables

- Replaced the inline environment variable definition with an env_file reference to improve configuration management.
- This change allows for better organization of environment variables and enhances the application's ability to access necessary configurations during the build process.
  • Loading branch information
fearandesire committed Dec 14, 2024
1 parent 952b7dc commit b1e0560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ services:
image: ghcr.io/fearandesire/pluto-betting-bot:latest
build:
context: .
environment:
- DOTENV_KEY=${PLUTO_DOTENV_KEY}
env_file:
- .env
volumes:
- .env.vault:/app/.env.vault
- ./Khronos-Swagger-Spec-v1.json:/app/Khronos-Swagger-Spec-v1.json
Expand Down

0 comments on commit b1e0560

Please sign in to comment.