Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
454 B
4
Indexable
Never
--- # docker-compose template
version: "3.4"
services:
  foobar:
    image: "foobar:latest"
    ports:
      "4242:4242"
    environment:
      {{ ENV_FOOBAR }}

--- # ansible env
ENV_FOOBAR:
  NODE_ENV: "production"
  ENABLE_KOA_LOGGER: "true"
  ...

--- # Generated docker-compose
version: "3.4"
services:
  foobar:
    image: "foobar:latest"
    ports:
      "4242:4242"
    environment:
      {'NODE_ENV': 'production', 'ENABLE_KOA_LOGGER': 'true'}