Relative Content

Tag Archive for dockerdocker-compose

Docker Resolving both host DNS and container names

The situation I have a host on which I run a bunch of containers so I just Nginx Proxy manager to proxy HTTP traffic to their respective containers. However, I’d like it to be able to access devices on my Tailscale network and the only proper way I’ve seen it be able to be do […]

docker-compose set environment variable as output of host command

Is it possible to set an environment variable in docker-compose.yaml as the output of a command? I thought this was working, however as I’m looking over things in my service and when it’s running I’m getting VERSION=$(git describe) where what I’m looking to see is something likeVERSION=v1.0.0

Docker-compose up returns Error:invalid reference format

I’m testing docker-compose and docker-compose.yaml worked well on local.
And then I just copied this file and pasted on my AWS instance.
But on AWS instance “docker-compose up” command returns “ERROR: invalid reference format”