-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
featureNew featureNew feature
Description
Description
i would like to be able to define variables in a deploy block that are then available to the deployed docker-compose.yml like a env_files
example:
POLL_CONFIG: |
- url: https://github.com/example/example.git
interval: 300
deployments:
- name: evaluation_deployment
environment:
- _DB_ROOT_PW: "abc"
i have a service like this in the docker-compose.yml
db_backend:
image: docker.io/bitnami/mariadb:11.4
environment:
MARIADB_USER: ${_DB_BACKEND_USER}
MARIADB_PASSWORD: ${_DB_BACKEND_PW}
MARIADB_ROOT_PASSWORD: ${_DB_ROOT_PW}
Use Case
Currently i have my deployments in portainer and have the secrets defined in the webui. They are then provided to the deployment through the stack.env file. As i am only using portainer for the GitOps feature i would like to replace it with doco-cd.
Additional Information
Managing secrets that way is totally sufficient in my scenario. A full blown secret management solution is just unnecessary overhead.
Metadata
Metadata
Assignees
Labels
featureNew featureNew feature