docker-compose use .env code example
Example: docker compose envirowment
# environment vars
environment:
RACK_ENV: development
environment:
- RACK_ENV=development
# environment vars
environment:
RACK_ENV: development
environment:
- RACK_ENV=development