python - Docker command with env var prepended (local env var) -
i using docker compose spin containers, don't command working. start flask server, set env var it. here's i've done:
web: command: instasong_env=production python manage.py runserver unfortunately, error:
cannot start container 2a413b1270b9faa5e0ffb8a70603ae25c48ff742e0d8476bed8153febcee185a: [8] system error: exec: "instasong_env=production": executable file not found in $path how can make work?
setting environment variable might set differently, illustrated in tests/fixtures/extends/common.yml
web: image: busybox command: /bin/true environment: - foo=1 - bar=1 in case:
web: command: python manage.py runserver environment: - instasong_env=production
Comments
Post a Comment