docker / docker/cli

Support for raw config in docker-compose file

Open
#320 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/stack kind/enhancement
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Hi

I can't find a way to add a raw config in docker-compose file, so I think it's not possible
What I am trying to do is to deploy a stack with a config like :

version: "3.3"
services:
  caddy:
    image: caddy
    configs:
      - source: caddyfile
        target: /etc/Caddyfile
configs:
  caddyfile:
    raw: |
0.0.0.0
browse
log stdout
errors stdout

I think it impact the compose format itself

Cheers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository file, test, or implementation entry point. Start by locating the Docker Compose format handling, then determine how a raw config should be represented and validated; done means the example configuration is accepted and deploys the requested config content.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.