Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports file merging docker compose files #59

Open
bsv9 opened this issue Jan 30, 2024 · 1 comment
Open

Supports file merging docker compose files #59

bsv9 opened this issue Jan 30, 2024 · 1 comment
Labels
blocked Waiting on something else to resolve enhancement New feature or request
Milestone

Comments

@bsv9
Copy link

bsv9 commented Jan 30, 2024

Hi,

It would be nice to add functionality to merge docker compose files.
https://docs.docker.com/compose/multiple-compose-files/merge/

Steps to reproduce

Create docker-compose.yaml

version: '3.4'
services:
  redis:
    image: docker.io/redis:7-alpine
    command:
    - sh
    - -c # this is to evaluate the $REDIS_PASSWORD from the env
    - redis-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
    env_file: env/redis.env

Create docker-compose.override.yaml

version: '3.4'
services:
  redis:
    restart: always

Expected behavior

# redis.container
[Container]
EnvironmentFile=env/redis.env
Exec=sh -c 'redis-server --appendonly yes --requirepass $$REDIS_PASSWORD'
Image=docker.io/redis:7-alpine

[Service]
Restart=always
@k9withabone k9withabone added the enhancement New feature or request label Feb 10, 2024
@k9withabone
Copy link
Member

Blocked on #63 and k9withabone/compose_spec_rs#4.

@k9withabone k9withabone added the blocked Waiting on something else to resolve label Feb 19, 2024
@k9withabone k9withabone added this to the v0.3.1 milestone Mar 22, 2024
@k9withabone k9withabone modified the milestones: v0.3.1, v0.3.2 Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Waiting on something else to resolve enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants