this post was submitted on 21 Nov 2023
1 points (100.0% liked)

Portainer

28 readers
0 users here now

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments.

founded 11 months ago
MODERATORS
 

Hi,
I'm failing big time to deploy the official netbox docker-compose on Portainer. I love Portainer and I would like to have netbox as a stack on Portainer. But I can't make it work even spending more than just a couple of evenings.
I have forked the repo and used it to deploy from the git repo, using additional paths for docker-compose. override.yml

I have tried it as a simple docker-compose up and it worked, but not how I wont it.

sad face.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago (1 children)

I mean, are you just copypasting it? Then the env file is surely missing

[–] [email protected] 1 points 10 months ago (1 children)

Sure I know about environment variables but as you spot it I think those anchors do not go through Portainer. Mostly my errors comes as a configuration file missing in etc. this is the reason why I'm asking if anyone has succeeded before I carry on spending another evening with it.

[–] [email protected] 1 points 10 months ago

did you try converting the anchors and going without them?

[–] [email protected] 1 points 10 months ago (1 children)

Just drop the compose contents into portainer stack.

Edit the paths and environment variables

[–] [email protected] 1 points 10 months ago

Have you tried exactly on this compose? It doesn't work. And I have used Portainer for a couple of years.

[–] [email protected] 1 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago (1 children)

Can you expand on what you mean by that. Thanks

[–] [email protected] 1 points 10 months ago

Need to know what the errors are before going down the rabbit hole.

A few of the ports are standard ports so you may need to change them. Modify and proceed.

Let us know the errors if any.