docker compose up with arguments code example
Example: docker compose add arguments
You can specify the arguments directly in your docker-compose file under args:
version: '3'
services:
rq_dashboad:
build:
context: .
args:
- RQ_DASHBOARD_REDIS_URL=redis://redis:6379
image: IMAGE_NAME_HERE