Skip to content

feat: Add resource files #38

Open
Open
@jdbaldry

Description

@jdbaldry

So I got this situation in a tutorial: I'm giving people a really long docker-compose.yml listing, and asking them to run it.

I can tell them to copy it into a file, but that's no fun.

I can commit it as a separate file to the KC repo, but that's no fun, because if someone modifies the docs, we now have 2 sources of truth for the docker-compose file that need to stay in sync.

What I'd really like to say is:

<!-- INTERACTIVE resource "docker-compose.yml" START -->
version: '3'
services:
  loki:
    image: grafana/loki:3.0.0
    ports:
      - "3100:3100"
      - 
    command: -config.file=/etc/loki/local-config.yaml
<!-- INTERACTIVE resource "docker-compose.yml" END -->

You can guess what that would do.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions