Skip to content
Discussion options

You must be logged in to vote

Nested doco-cd config files is definitely something I can consider to implement. :)

You can reduce the size of your second pattern by using variable interpolation in a compose config and reference that config in your service with the configs definition.

services:
  service1:
    image: app
    configs:
      - source: settings.yaml
        target: /config/settings.yaml
        mode: 0440

configs:
  settings.yaml:
    content: |
      app:
        password: ${OP_SERVICE_ACCOUNT_TOKEN}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kimdre
Comment options

@ronaldheft
Comment options

Answer selected by ronaldheft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants