YAML to dotenv
Convert this YAML config file to a .env file.
Start file
vimgolf: logging: level: INFO app: postgres: host: !ENV {POSTGRES_HOST} port: !ENV {POSTGRES_PORT} pulsar: host: !ENV ${PULSAR_HOST} port: !ENV ${PULSAR_PORT} namespace: vimgolf topic: !ENV ${PULSAR_TOPIC}
End file
POSTGRES_HOST= POSTGRES_PORT= PULSAR_HOST= PULSAR_PORT= PULSAR_TOPIC=
View Diff
1,12c1,5 < vimgolf: < logging: < level: INFO < app: < postgres: < host: !ENV {POSTGRES_HOST} < port: !ENV {POSTGRES_PORT} < pulsar: < host: !ENV ${PULSAR_HOST} < port: !ENV ${PULSAR_PORT} < namespace: vimgolf < topic: !ENV ${PULSAR_TOPIC} --- > POSTGRES_HOST= > POSTGRES_PORT= > PULSAR_HOST= > PULSAR_PORT= > PULSAR_TOPIC=
Solutions by @danilobellini:
Unlock 1 remaining solutions by signing in and submitting your own entry