Replies: 2 comments 3 replies
-
Hello! Instead of using the Portainer has a facility around setting environment variables. Take .env.docker and fill in |
Beta Was this translation helpful? Give feedback.
1 reply
-
Before I forget -
You need to copy the default_config folder contents into the config folder
before docker launch. (see docker instructions in readme).
Honestly a fork may be the easiest way to do it (unless somebody jumps in
here).
Please keep me posted!
…On Thu, Feb 8, 2024, 11:44 AM KenK73 ***@***.***> wrote:
Hello and thanks for the reply.
I have tried a couple different branches, including the develop. I also
have pulled down the project and uploaded the contents of env.docker file
to fill in all of the variables. I still have the issue where it complains
about the missing ,env file. I think as long as that file is referenced in
the docker-compose.yaml, it's going to fail deployment.
I see 3 paths:
1. Create the .env file
2. Set the docker-compose.yaml to use env.docker
3. Set the docker compose to use stack.env so it uses the variables
uploaded in Portainer
Since all of these options require editing files in the project, I am
guessing I will need a fork of my own to make it work. Unless someone can
tell me how to get Portainer to override a setting.
—
Reply to this email directly, view it on GitHub
<#75 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHP2K7MZU226M4V3TD625WDYST6IBAVCNFSM6AAAAABC7DWRKWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIMBZHA2DA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having an issue trying to deploy a decider container using Portainer. I am using the repository option and selecting refs/tags/3.0.0 as the repository reference. I have to change the compose path to docker-compose.yaml (defaults to .yml) and things appear to go smoothly until it starts looking for the .env file. The docker-compose.yaml is set to .env and that does not exist. I dont know how to override that and make it use the .env.docker file or if thats even possible.
As it is right now, I just get a deployment error:
failed to deploy a stack: Failed to load /data/compose/45/2cb162c6dfa6444e4f2571424bfe9cefa98aa907/.env: open /data/compose/45/2cb162c6dfa6444e4f2571424bfe9cefa98aa907/.env: no such file or directory
Beta Was this translation helpful? Give feedback.
All reactions